Commit 93cc78f8fcadfc4d4ad6db6138db4873a075513f
1 parent
38396258d1
Exists in
develop
Fix
Comando para compilar con electron
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
package.json
... | ... | @@ -11,8 +11,8 @@ |
11 | 11 | "lint": "ng lint", |
12 | 12 | "e2e": "ng e2e", |
13 | 13 | "electron": "electron .", |
14 | - "electron-build": "ng build --prod --aot=true --build--optimizer=true && electron .", | |
15 | - "build-exe": "electron-packager . --platform=win32 --arch=x64" | |
14 | + "electron-build": "ng build --prod && electron .", | |
15 | + "build-exe": "ng build --prod && electron-packager . --out=dist --platform=win32 --arch=x64 --icon=src/favicon.ico --asar" | |
16 | 16 | }, |
17 | 17 | "private": true, |
18 | 18 | "dependencies": { |