differentiate between install scripts

This commit is contained in:
SpikeHD 2022-04-23 19:02:07 -07:00
parent e61e2973f3
commit 7e826312fd

View File

@ -273,7 +273,9 @@ async function closeFirstTimePopup() {
} }
async function runInstallScript() { 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 // Create an interval that will check for the proxy server installation finish
const interval = setInterval(async () => { const interval = setInterval(async () => {