mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-25 01:24:12 +00:00
start proxy connection in background
This commit is contained in:
parent
5ff0654413
commit
00d8d57e66
@ -472,7 +472,11 @@ async function launchPrivate() {
|
|||||||
Neutralino.storage.setData('config', JSON.stringify(config))
|
Neutralino.storage.setData('config', JSON.stringify(config))
|
||||||
|
|
||||||
// Pass IP and game folder to the private server launcher
|
// Pass IP and game folder to the private server launcher
|
||||||
createCmdWindow(`.\\scripts\\private_server_launch.cmd ${ip} ${port} ${config.useHttps} "${config.gameexe}" "${NL_CWD}" ${config.enableKillswitch} true`).catch(e => console.log(e))
|
Neutralino.os.execCommand(
|
||||||
|
`.\\scripts\\private_server_launch.cmd ${ip} ${port} ${config.useHttps} "${config.gameexe}" "${NL_CWD}" ${config.enableKillswitch} true`, {
|
||||||
|
background: true
|
||||||
|
}
|
||||||
|
).catch(e => console.log(e))
|
||||||
}
|
}
|
||||||
|
|
||||||
async function launchLocalServer() {
|
async function launchLocalServer() {
|
||||||
|
Loading…
Reference in New Issue
Block a user