39 lines
858 B
Plaintext
39 lines
858 B
Plaintext
echo 连接服务器
|
|
open scp://{{.Name}}:{{.Passwd}}@{{.Addr}}
|
|
|
|
cd {{.RemoteDir}}/dbproxy
|
|
put {{.LocalDir}}\dbproxy\dbproxy
|
|
call mv dbproxy win88_dbproxy
|
|
chmod 755 win88_dbproxy
|
|
|
|
cd {{.RemoteDir}}/mgrsrv
|
|
put {{.LocalDir}}\mgrsrv\mgrsrv
|
|
call mv mgrsrv win88_mgrsrv
|
|
chmod 755 win88_mgrsrv
|
|
|
|
cd {{.RemoteDir}}/gatesrv
|
|
put {{.LocalDir}}\gatesrv\gatesrv
|
|
call mv gatesrv win88_gatesrv
|
|
chmod 755 win88_gatesrv
|
|
|
|
cd {{.RemoteDir}}/worldsrv
|
|
put {{.LocalDir}}\worldsrv\worldsrv
|
|
call mv worldsrv win88_worldsrv
|
|
chmod 755 win88_worldsrv
|
|
|
|
cd {{.RemoteDir}}/gamesrv
|
|
put {{.LocalDir}}\gamesrv\gamesrv
|
|
call mv gamesrv win88_gamesrv
|
|
chmod 755 win88_gamesrv
|
|
|
|
cd {{.RemoteDir}}/ranksrv
|
|
put {{.LocalDir}}\ranksrv\ranksrv
|
|
call mv ranksrv win88_ranksrv
|
|
chmod 755 win88_ranksrv
|
|
|
|
cd {{.RemoteDir}}/robot
|
|
put {{.LocalDir}}\robot\robot
|
|
call mv robot win88_robot
|
|
chmod 755 win88_robot
|
|
|