Configura electron-builder para AppImage (Linux) e NSIS (Windows)
- package.json: appId, linux AppImage target, win NSIS target - res/electron/build.json: config completa para electron-builder v26 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
afb2945813
commit
5f94667bf9
2 changed files with 15 additions and 4 deletions
15
package.json
15
package.json
|
|
@ -24,14 +24,23 @@
|
|||
]
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.tadeu.biolab",
|
||||
"appId": "dev.tadix.biolab",
|
||||
"productName": "BioLab",
|
||||
"directories": {
|
||||
"buildResources": "resources"
|
||||
"buildResources": "res"
|
||||
},
|
||||
"linux": {
|
||||
"target": "AppImage",
|
||||
"icon": "res/icon.png",
|
||||
"category": "Science"
|
||||
},
|
||||
"win": {
|
||||
"target": "nsis",
|
||||
"icon": "resources/icon.ico"
|
||||
"icon": "res/icon.ico"
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
"allowToChangeInstallationDirectory": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue