FreeDATA/gui/electron-builder.json5
2023-10-29 18:33:13 +01:00

81 lines
1.6 KiB
Text

/**
* @see https://www.electron.build/configuration/configuration
*/
{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"appId": "app.freedata",
"asar": true,
"afterSign": "build/notarize_macos.js",
"productName": "FreeDATA",
"directories": {
"output": "release"
},
"asarUnpack": [
"**/*.wav"
],
"files": [
"dist",
"dist-electron",
"../modem/dist/modem/",
],
"extraResources": [
{
"from": "../modem/dist/modem/",
"to": "modem",
"filter": [
"**/*",
"!**/.git"
]
}
],
"mac": {
"target": [
{
"target": "default",
//"arch": ["universal"],
"arch": ["arm64", "x64"],
}
],
"notarize": "false",
"icon": "build/icon.png",
"hardenedRuntime": true,
"entitlements": "build/entitlements.plist",
"entitlementsInherit": "build/entitlements.plist",
"gatekeeperAssess": false,
"mergeASARs": true,
"x64ArchFiles": "**/*",
"artifactName": "${productName}-Mac-${version}.${ext}"
},
"win": {
"icon": "build/icon.png",
"target": [
{
"target": "nsis",
"arch": ["arm64", "x64"]
}
],
"artifactName": "${productName}-Windows-${version}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true
},
"linux": {
"category": "Development",
"target": [
"AppImage"
],
"artifactName": "${productName}-${version}.${ext}"
}
}