1
This commit is contained in:
@@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user