mirror of
https://github.com/sern-handler/gui
synced 2026-06-06 01:16:54 +00:00
fix: now windows command *should* work
This commit is contained in:
@@ -31,6 +31,12 @@
|
||||
"dev": "concurrently -k \"BROWSER=none yarn start\" \"yarn:electron\"",
|
||||
"electron": "electron ."
|
||||
},
|
||||
"build": {
|
||||
"win": {
|
||||
"icon": "icons/icon.ico",
|
||||
"publisherName": "sern open source"
|
||||
}
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"react-app",
|
||||
|
||||
@@ -73,7 +73,7 @@ function createWindow() {
|
||||
commandToRun = `cd ${data.selectedPath};${packageManagerCommand}`
|
||||
break;
|
||||
case 'windows':
|
||||
commandToRun = `cd /D ${data.selectedPath};${packageManagerCommand}`
|
||||
commandToRun = `cd /D ${data.selectedPath} && ${packageManagerCommand}`
|
||||
break;
|
||||
case 'macOS':
|
||||
commandToRun = `cd ${data.selectedPath};${packageManagerCommand}`
|
||||
|
||||
Reference in New Issue
Block a user