beta1.2 Dual relay.

This commit is contained in:
2026-06-22 13:39:22 +08:00
parent e570b7b92e
commit 1a6df73d3c
6 changed files with 6 additions and 4 deletions
+2
View File
@@ -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,
)
+3 -3
View File
@@ -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).
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -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"
BIN
View File
Binary file not shown.