+ win build script
This commit is contained in:
9
build_win.bat
Normal file
9
build_win.bat
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
@ECHO OFF
|
||||||
|
ECHO Clean the cache first
|
||||||
|
call npm cache clean --force
|
||||||
|
ECHO Prune the project for production
|
||||||
|
call npm prune --production
|
||||||
|
ECHO Install all dependencies
|
||||||
|
call npm install
|
||||||
|
ECHO Make a distribution
|
||||||
|
call npm run dist
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"postinstall": "electron-builder install-app-deps",
|
"postinstall": "electron-builder",
|
||||||
"pack": "build --dir",
|
"pack": "build --dir",
|
||||||
"dist": "build"
|
"dist": "build"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user