Skip to content

Commit

Permalink
Fixed support for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
OrigamingWasTaken authored Mar 13, 2024
1 parent 18a03e4 commit 7f819cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/package/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ async function main() {

const args = [
'--window-enable-inspector=true',
'--export-auth-info',
'--load-dir-res',
`--path=${path.resolve('.')}`,
'--neu-dev-extension',
Expand All @@ -43,7 +44,7 @@ async function main() {
bpath = path.resolve(`./bin/neutralino-${binaryOS}_${process.arch}`)
chmodSync(bpath,"755");
} else {
bpath = path.resolve(`./bin/neutralino-${binaryOS}_winx64.exe`)
bpath = 'start ' + path.resolve(`./bin/neutralino-${binaryOS}_x64.exe`)
}

await spawn(bpath, args, {
Expand Down

0 comments on commit 7f819cb

Please sign in to comment.