+ 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",
|
||||
"scripts": {
|
||||
"start": "electron .",
|
||||
"postinstall": "electron-builder install-app-deps",
|
||||
"postinstall": "electron-builder",
|
||||
"pack": "build --dir",
|
||||
"dist": "build"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user