Weitere Konfiguration
This commit is contained in:
parent
cab8319cff
commit
4d72cccd80
BIN
desktopIcon.png
Normal file
BIN
desktopIcon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
15
electron-builder.json
Normal file
15
electron-builder.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"appId": "com.nwaschk.api-tool",
|
||||
"files": ["dist-electron", "dist-react"],
|
||||
"icon": "./desktopIcon.png",
|
||||
"mac": {
|
||||
"target": "dmg"
|
||||
},
|
||||
"linux": {
|
||||
"target": "AppImage",
|
||||
"category": "Utility"
|
||||
},
|
||||
"win": {
|
||||
"target": ["portable", "msi"]
|
||||
}
|
||||
}
|
||||
4119
package-lock.json
generated
4119
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -3,19 +3,23 @@
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"main": "dist-electron/main",
|
||||
"main": "dist-electron/main.js",
|
||||
"scripts": {
|
||||
"dev:svelte": "vite",
|
||||
"dev:electron": "electron .",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json",
|
||||
"transpile:electron" : "tsc --project src/electron/tsconfig.json"
|
||||
"transpile:electron": "tsc --project src/electron/tsconfig.json",
|
||||
"dist:mac": "npm run transpile:electron && npm run build && electron-builder --mac --arm64",
|
||||
"dist:win": "npm run transpile:electron && npm run build && electron-builder --win --x64",
|
||||
"dist:linux": "npm run transpile:electron && npm run build && electron-builder --linux --x64"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
||||
"@tsconfig/svelte": "^5.0.4",
|
||||
"electron": "^36.2.1",
|
||||
"electron-builder": "^26.0.12",
|
||||
"svelte": "^5.28.1",
|
||||
"svelte-check": "^4.1.6",
|
||||
"typescript": "~5.8.3",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user