mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-08-14 13:11:48 +08:00
server installation watcher
This commit is contained in:
parent
2e1b052fc9
commit
3fb48582fd
@ -275,6 +275,14 @@ async function closeFirstTimePopup() {
|
||||
async function runInstallScript() {
|
||||
Neutralino.os.execCommand(`${NL_CWD}/scripts/install.cmd "${NL_CWD}"`)
|
||||
|
||||
// Create an interval that will check for the proxy server installation finish
|
||||
const interval = setInterval(async () => {
|
||||
if (await proxyIsInstalled()) {
|
||||
clearInterval(interval)
|
||||
enableButtons()
|
||||
}
|
||||
}, 1000)
|
||||
|
||||
closeFirstTimePopup()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user