FreeDATA/gui/electron-builder.json5
2024-02-29 15:27:39 +01:00

61 lines
1.3 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",
],
"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}-GUI-Mac-${version}.${ext}"
},
"win": {
"icon": "build/icon.png",
"target": [
{
"target": "portable",
"arch": ["arm64", "x64"]
}
],
"artifactName": "${productName}-GUI-Windows-${version}.${ext}"
},
"linux": {
"category": "Development",
"target": [
"AppImage"
],
"artifactName": "${productName}-GUI-Linux-${version}.${ext}"
}
}