mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
update
This commit is contained in:
@@ -2,10 +2,11 @@ package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/Yuzuki616/V2bX/common/exec"
|
||||
"github.com/spf13/cobra"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/InazumaV/V2bX/common/exec"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var targetVersion string
|
||||
@@ -16,7 +17,7 @@ var (
|
||||
Short: "Update V2bX version",
|
||||
Run: func(_ *cobra.Command, _ []string) {
|
||||
exec.RunCommandStd("bash",
|
||||
"<(curl -Ls https://raw.githubusercontents.com/Yuzuki616/V2bX-script/master/install.sh)",
|
||||
"<(curl -Ls https://raw.githubusercontents.com/InazumaV/V2bX-script/master/install.sh)",
|
||||
targetVersion)
|
||||
},
|
||||
Args: cobra.NoArgs,
|
||||
|
||||
Reference in New Issue
Block a user