2023-09-02 11:37:03 +00:00
|
|
|
/**
|
|
|
|
* @see https://www.electron.build/configuration/configuration
|
|
|
|
*/
|
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
|
|
|
|
"appId": "YourAppID",
|
|
|
|
"asar": true,
|
2023-10-04 21:34:36 +00:00
|
|
|
"productName": "FreeDATA",
|
2023-09-02 11:37:03 +00:00
|
|
|
"directories": {
|
|
|
|
"output": "release/${version}"
|
|
|
|
},
|
|
|
|
"files": [
|
2023-10-04 17:54:50 +00:00
|
|
|
"dist",
|
2023-10-08 07:57:03 +00:00
|
|
|
"dist-electron",
|
|
|
|
"src/**/*",
|
|
|
|
"node_modules/**/*",
|
|
|
|
{
|
|
|
|
from: 'src',
|
|
|
|
to: 'dist'
|
|
|
|
}
|
2023-09-02 11:37:03 +00:00
|
|
|
],
|
2023-10-08 07:57:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
"extraResources": [
|
|
|
|
{
|
|
|
|
"from": "src",
|
|
|
|
"to": "testfolder",
|
|
|
|
"filter": [
|
|
|
|
"**/*",
|
|
|
|
"!**/.git"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
|
|
|
|
|
2023-09-02 11:37:03 +00:00
|
|
|
"mac": {
|
|
|
|
"target": [
|
|
|
|
"dmg"
|
2023-10-04 17:54:50 +00:00
|
|
|
],
|
|
|
|
"artifactName": "${productName}-Mac-${version}-Installer.${ext}"
|
2023-09-02 11:37:03 +00:00
|
|
|
},
|
|
|
|
"win": {
|
|
|
|
"target": [
|
|
|
|
{
|
|
|
|
"target": "nsis",
|
|
|
|
"arch": [
|
|
|
|
"x64"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2023-10-04 17:54:50 +00:00
|
|
|
"artifactName": "${productName}-Windows-${version}-Setup.${ext}"
|
2023-09-02 11:37:03 +00:00
|
|
|
},
|
|
|
|
"nsis": {
|
|
|
|
"oneClick": false,
|
|
|
|
"perMachine": false,
|
|
|
|
"allowToChangeInstallationDirectory": true,
|
|
|
|
"deleteAppDataOnUninstall": false
|
2023-10-04 17:54:50 +00:00
|
|
|
},
|
|
|
|
"linux": {
|
|
|
|
"target": [
|
|
|
|
"AppImage"
|
|
|
|
],
|
2023-10-04 21:34:36 +00:00
|
|
|
"artifactName": "${productName}-${version}.${ext}"
|
2023-10-08 07:57:03 +00:00
|
|
|
}
|
2023-10-04 21:34:36 +00:00
|
|
|
}
|