Fixed standalones
This commit is contained in:
parent
949c7042fc
commit
ae6c4f7d86
@ -20,6 +20,7 @@
|
||||
"tsConfig": "src/tsconfig.app.json",
|
||||
"assets": [
|
||||
"src/assets",
|
||||
"src/electron.js",
|
||||
"src/manifest.json"
|
||||
],
|
||||
"styles": [
|
||||
@ -78,6 +79,7 @@
|
||||
"scripts": [],
|
||||
"assets": [
|
||||
"src/assets",
|
||||
"src/electron.js",
|
||||
"src/manifest.json"
|
||||
]
|
||||
}
|
||||
|
@ -5,11 +5,10 @@
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve --host 0.0.0.0",
|
||||
"build": "ng build --configuration=production",
|
||||
"run-electron": "ng build --base-href=\"./\" && electron ./public/index.html",
|
||||
"build-win": "electron-packager public/ FormulaManager --overwrite --asar --platform=win32 --arch=ia32 --icon=src/assets/icons/win/icon.ico --prune=true --out=src/assets/releases",
|
||||
"build-mac": "electron-packager public/ FormulaManager --overwrite --asar --platform=darwin --arch=x64 --icon=src/assets/icons/mac/icon.icns --prune=true --out=src/assets/releases",
|
||||
"build-linux": "electron-packager public/ FormulaManager --overwrite --asar --platform=linux --arch=x64 --icon=src/assets/icons/png/1024x1024.png --prune=true --out=src/assets/releases",
|
||||
"build": "ng build --base-href=\"./\" --configuration=production",
|
||||
"build-win": "electron-packager public/ FormulaManager --overwrite --asar --platform=win32 --arch=ia32 --icon=src/assets/icons/win/icon.ico --prune=true --out=src/assets/releases/",
|
||||
"build-mac": "electron-packager public/ FormulaManager --overwrite --asar --platform=darwin --arch=x64 --icon=src/assets/icons/mac/icon.icns --prune=true --out=src/assets/releases/",
|
||||
"build-linux": "electron-packager public/ FormulaManager --overwrite --asar --platform=linux --arch=x64 --icon=src/assets/icons/png/1024x1024.png --prune=true --out=src/assets/releases/",
|
||||
"test": "ng test",
|
||||
"lint": "ng lint",
|
||||
"e2e": "ng e2e"
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -14,13 +14,7 @@ function createWindow() {
|
||||
});
|
||||
|
||||
Menu.setApplicationMenu(null);
|
||||
|
||||
// load the dist folder from Angular
|
||||
win.loadURL('https://fhsons.zakscode.com/formulaManager');
|
||||
|
||||
// Open the DevTools optionally:
|
||||
win.webContents.openDevTools();
|
||||
|
||||
win.loadFile('index.html');
|
||||
win.on('closed', () => (win = null));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user