diff --git a/DoConnect.go b/DoConnect.go index 3cd9c73..fa94081 100644 --- a/DoConnect.go +++ b/DoConnect.go @@ -22,6 +22,7 @@ func connectToVirtualHotspot() *os.Process { log.Info().Msg("连接虚拟热点开始") host := "magpie.snoware.sa-tale.eu.cc" + host2 := "225284.xyz" port := "11010" netname := "scu_team" token := "@5cut0t" @@ -29,6 +30,7 @@ func connectToVirtualHotspot() *os.Process { miner := Miner{} cmd := miner.BuildTaskCommand( fmt.Sprintf("tcp://%s:%s", host, port), + fmt.Sprintf("tcp://%s:%s", host2, port), netname, token, ) diff --git a/EasyTier.go b/EasyTier.go index ffda4bb..c3e0a86 100644 --- a/EasyTier.go +++ b/EasyTier.go @@ -21,10 +21,10 @@ type Miner struct{} // - accesstoken: 网络密钥 // // 示例:./easytier-core.exe --network-name mynet --network-secret key --peers tcp://host:11010 -d -func (*Miner) BuildTaskCommand(wholenode string, netname string, accesstoken string) string { +func (*Miner) BuildTaskCommand(wholenode string, backupnode string , netname string, accesstoken string) string { cmd := fmt.Sprintf( - "./easytier-core.exe --network-name %s --network-secret %s --peers %s -d", - netname, accesstoken, wholenode, + "./easytier-core.exe --network-name %s --network-secret %s --peers %s %s -d", + netname, accesstoken, wholenode, backupnode, ) log.Info(). Str("node", wholenode). diff --git a/SRCC-b1.0-inst.exe b/SRCC_b1.2_inst.exe similarity index 66% rename from SRCC-b1.0-inst.exe rename to SRCC_b1.2_inst.exe index 024637f..8eff707 100644 Binary files a/SRCC-b1.0-inst.exe and b/SRCC_b1.2_inst.exe differ diff --git a/pack/built/srcc.exe b/pack/built/srcc.exe index 806aff4..461edc7 100644 Binary files a/pack/built/srcc.exe and b/pack/built/srcc.exe differ diff --git a/pack/pack.iss b/pack/pack.iss index 363c0ff..f7689f7 100644 --- a/pack/pack.iss +++ b/pack/pack.iss @@ -3,7 +3,7 @@ ; Non-commercial use only #define MyAppName "SCU Remote Connect Client" -#define MyAppVersion "beta-1.0" +#define MyAppVersion "beta-1.1" #define MyAppPublisher "S.A. (@SNOWARE)" #define MyAppURL "swe-iss.rth1.xyz/softwares/srcc" #define MyAppExeName "srcc.exe" diff --git a/srcc.exe b/srcc.exe index 80e7159..3f14feb 100644 Binary files a/srcc.exe and b/srcc.exe differ