beta1.2 Dual relay.
This commit is contained in:
@@ -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
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user