fixed electron build + implemented dynamic settings + custom user data folder

This commit is contained in:
X4Lo committed 2024-06-05 00:14:48 +01:00
1 parent 8958ead210
commit b872cd0733
14 files changed
+286 -81

No files matched your search

+21 -21
View File
@@ -1,23 +1,34 @@
{
"name": "show-z",
"name": "showy",
"author": "X4Lo",
"description": "Movies & Tv-Series Tracking library",
"version": "0.0.0",
"main": "main.js",
"scripts": {
"ng": "ng",
"start:backend": "nodemon backend/server.js",
"start:frontend": "ng serve",
"electron build": "ng build --configuration=production --base-href ./ && copyfiles backend/**/* dist/show-z && electron .",
"build": "ng build",
"Backend": "nodemon backend/server.js",
"Frontend": "ng serve",
"build-and-copy": "ng build --configuration production --base-href ./ && copyfiles backend/**/* dist/showy",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"electron-build": "npm-run-all -s electron-build:*",
"electron-build:all": "ng build --configuration=production --base-href ./ && copyfiles backend/**/* dist/showy && electron . && electron-builder",
"electron-build:ng": "ng build --configuration=production --base-href ./",
"electron-build:copy": "copyfiles backend/**/* dist/show-z",
"electron-build:copy": "copyfiles backend/**/* dist/showy",
"electron-build:electron": "electron .",
"electron-build:exe": "electron-builder"
"electron-build:exe": "electron-builder",
"electron-copy-be": "copyfiles backend/**/* dist_electron/win-unpacked"
},
"build": {
"appId": "xalo.showy",
"productName": "Showy",
"win": {
"target": "nsis",
"icon": "frontend/to/icon.ico"
},
"directories": {
"output": "dist_electron"
}
},
"portable": true,
"singleInstance": false,
"private": true,
"dependencies": {
"@angular/animations": "^17.0.0",
@@ -64,16 +75,5 @@
"karma-jasmine-html-reporter": "~2.1.0",
"nodemon": "^3.1.0",
"typescript": "~5.2.2"
},
"build": {
"appId": "xalo.showy",
"productName": "Showy",
"win": {
"target": "nsis",
"icon": "frontend/to/icon.ico"
},
"directories": {
"output": "dist_exe"
}
}
}