start proxy connection in background

This commit is contained in:
SpikeHD 2022-05-05 20:11:41 -07:00
parent 5ff0654413
commit 00d8d57e66

View File

@ -472,7 +472,11 @@ async function launchPrivate() {
Neutralino.storage.setData('config', JSON.stringify(config))
// 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() {