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",
|
2023-10-08 17:58:35 +00:00
|
|
|
"appId": "app.freedata",
|
2023-09-02 11:37:03 +00:00
|
|
|
"asar": true,
|
2023-10-08 17:58:35 +00:00
|
|
|
"afterSign": "electron-builder-notarize",
|
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",
|
2023-10-08 08:33:54 +00:00
|
|
|
|
2023-10-08 07:57:03 +00:00
|
|
|
{
|
|
|
|
from: 'src',
|
2023-10-08 08:33:54 +00:00
|
|
|
to: '123'
|
2023-10-08 07:57:03 +00:00
|
|
|
}
|
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": {
|
2023-10-08 17:58:35 +00:00
|
|
|
"category": "Development",
|
2023-10-04 17:54:50 +00:00
|
|
|
"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
|
|
|
}
|