mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
81 lines
1.6 KiB
Text
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/server.dist/",
|
|
],
|
|
|
|
"extraResources": [
|
|
|
|
{
|
|
"from": "../modem/server.dist/",
|
|
"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}"
|
|
}
|
|
}
|