Skip to content

Commit

Permalink
add npm task for build linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Himly1 committed Oct 26, 2022
1 parent 3d1afcf commit 766bebd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"eject": "react-scripts eject",
"dev-elec-on-win": "npm run build && xcopy.exe .\\pythonScripts\\ .\\build\\ && xcopy.exe .\\config.json .\\build\\ && electron .",
"dev-elec-on-linux": "npm run build && cp -r ./pythonScripts/ ./build/ && cp config.json ./build/ electron .",
"build-win": "npm run build && electron-builder --win --ia32"
"build-win": "npm run build && electron-builder --win --ia32",
"build-linux": "npm run build && electron-builder --linux"
},
"eslintConfig": {
"extends": [
Expand Down Expand Up @@ -90,7 +91,8 @@
"include": "build/installer.nsh"
},
"linux": {
"icon": "build/icon.ico"
"icon": "build/icon.ico",
"target": "zip"
}
}
}
}

0 comments on commit 766bebd

Please sign in to comment.