This commit is contained in:
2025-09-25 18:13:48 +08:00
parent e9c90c82a3
commit 1d0bab7804
7 changed files with 1118 additions and 178 deletions

View File

@@ -1,39 +1,44 @@
{
"appId": "com.electron.app",
"directories": {
"output": "dist"
"appId": "com.erp.client",
"productName": "ERP客户端",
"directories": {
"output": "dist"
},
"publish": {
"provider": "generic",
"url": "http://192.168.1.89:8080/static/updates/"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"shortcutName": "ERP客户端"
},
"win": {
"target": "nsis",
"icon": "public/icon/icon.png"
},
"linux": {
"target": ["snap"]
},
"files": [
{
"from": "build/main",
"to": "main",
"filter": ["**/*"]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"shortcutName": "Electron App"
{
"from": "build/renderer",
"to": "renderer",
"filter": ["**/*"]
},
"win": {
"target": "nsis"
{
"from": "src/main/static",
"to": "static",
"filter": ["**/*"]
},
"linux": {
"target": ["snap"]
},
"files": [
{
"from": "build/main",
"to": "main",
"filter": ["**/*"]
},
{
"from": "build/renderer",
"to": "renderer",
"filter": ["**/*"]
},
{
"from": "src/main/static",
"to": "static",
"filter": ["**/*"]
},
"!build",
"!dist",
"!scripts"
]
"!build",
"!dist",
"!scripts"
]
}