mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-21 22:58:24 +00:00
differentiate between install scripts
This commit is contained in:
parent
e61e2973f3
commit
7e826312fd
@ -273,7 +273,9 @@ async function closeFirstTimePopup() {
|
||||
}
|
||||
|
||||
async function runInstallScript() {
|
||||
Neutralino.os.execCommand(`${NL_CWD}/scripts/install.cmd "${NL_CWD}"`)
|
||||
const script = NL_OS === 'Windows' ? 'install.cmd':'install.sh'
|
||||
|
||||
Neutralino.os.execCommand(`${NL_CWD}/scripts/${script} "${NL_CWD}"`)
|
||||
|
||||
// Create an interval that will check for the proxy server installation finish
|
||||
const interval = setInterval(async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user