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-23 10:01:18 +00:00
|
|
|
"afterSign": "build/notarize_macos.js",
|
2023-10-04 21:34:36 +00:00
|
|
|
"productName": "FreeDATA",
|
2023-09-02 11:37:03 +00:00
|
|
|
"directories": {
|
2023-10-20 19:59:54 +00:00
|
|
|
"output": "release"
|
2023-09-02 11:37:03 +00:00
|
|
|
},
|
2023-10-29 15:51:55 +00:00
|
|
|
|
|
|
|
"asarUnpack": [
|
|
|
|
"**/*.wav"
|
|
|
|
],
|
|
|
|
|
|
|
|
|
2023-09-02 11:37:03 +00:00
|
|
|
"files": [
|
2023-10-04 17:54:50 +00:00
|
|
|
"dist",
|
2023-10-08 07:57:03 +00:00
|
|
|
"dist-electron",
|
2023-10-29 14:05:53 +00:00
|
|
|
],
|
|
|
|
|
2023-10-08 07:57:03 +00:00
|
|
|
|
2023-09-02 11:37:03 +00:00
|
|
|
"mac": {
|
|
|
|
"target": [
|
2023-10-23 07:46:56 +00:00
|
|
|
{
|
|
|
|
"target": "default",
|
2023-10-29 17:33:13 +00:00
|
|
|
//"arch": ["universal"],
|
|
|
|
"arch": ["arm64", "x64"],
|
|
|
|
|
2023-10-23 07:46:56 +00:00
|
|
|
}
|
2023-10-04 17:54:50 +00:00
|
|
|
],
|
2023-10-24 17:41:17 +00:00
|
|
|
"notarize": "false",
|
2023-10-20 19:26:59 +00:00
|
|
|
"icon": "build/icon.png",
|
|
|
|
"hardenedRuntime": true,
|
|
|
|
"entitlements": "build/entitlements.plist",
|
|
|
|
"entitlementsInherit": "build/entitlements.plist",
|
|
|
|
"gatekeeperAssess": false,
|
2023-10-29 17:33:13 +00:00
|
|
|
"mergeASARs": true,
|
|
|
|
"x64ArchFiles": "**/*",
|
2023-10-24 15:47:59 +00:00
|
|
|
"artifactName": "${productName}-Mac-${version}.${ext}"
|
2023-09-02 11:37:03 +00:00
|
|
|
},
|
|
|
|
"win": {
|
2023-10-20 19:26:59 +00:00
|
|
|
"icon": "build/icon.png",
|
2023-09-02 11:37:03 +00:00
|
|
|
"target": [
|
|
|
|
{
|
|
|
|
"target": "nsis",
|
2023-10-23 11:00:24 +00:00
|
|
|
"arch": ["arm64", "x64"]
|
2023-09-02 11:37:03 +00:00
|
|
|
}
|
|
|
|
],
|
2023-10-24 15:47:59 +00:00
|
|
|
"artifactName": "${productName}-Windows-${version}.${ext}"
|
2023-09-02 11:37:03 +00:00
|
|
|
},
|
|
|
|
"nsis": {
|
|
|
|
"oneClick": false,
|
|
|
|
"perMachine": false,
|
|
|
|
"allowToChangeInstallationDirectory": true,
|
2023-10-22 16:51:07 +00:00
|
|
|
"deleteAppDataOnUninstall": true
|
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
|
|
|
}
|