Last active
October 28, 2022 16:26
-
-
Save nickbeaulieu/514c99e92b15be597e80f5c7064dc24f to your computer and use it in GitHub Desktop.
Electron Builder configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>com.apple.security.cs.allow-jit</key> | |
<true/> | |
<key>com.apple.security.cs.disable-library-validation</key> | |
<true/> | |
</dict> | |
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"build": { | |
"productName": "MyApp", | |
"appId": "com.my.app", | |
"asar": true, | |
"asarUnpack": "**\\*.{node,dll}", | |
"files": [ | |
"dist", | |
"node_modules", | |
"package.json", | |
], | |
"afterSign": "./scripts/notarize.js", | |
"mac": { | |
"type": "distribution", | |
"hardenedRuntime": true, | |
"entitlements": "assets/entitlements.mac.plist", | |
"entitlementsInherit": "assets/entitlements.mac.plist", | |
"gatekeeperAssess": false | |
}, | |
"dmg": { | |
"background": "assets/background.png", | |
"contents": [ | |
{ | |
"x": 122, | |
"y": 236 | |
}, | |
{ | |
"x": 428, | |
"y": 236, | |
"type": "link", | |
"path": "/Applications" | |
} | |
], | |
"window": { | |
"width": 540, | |
"height": 420 | |
} | |
}, | |
"win": { | |
"target": { | |
"target": "nsis", | |
"arch": [ | |
"x64", | |
"ia32" | |
] | |
}, | |
"signingHashAlgorithms": [ | |
"sha256" | |
], | |
"publisherName": [ | |
"Acme, Inc.", | |
"Acme, Inc" | |
], | |
"sign": "./customSign.js", | |
}, | |
"appImage": { | |
"artifactName": "MyApp.AppImage" | |
}, | |
"linux": { | |
"target": [ | |
"AppImage" | |
], | |
"category": "Development" | |
}, | |
"directories": { | |
"app": "build/app", | |
"buildResources": "assets", | |
"output": "build/release" | |
}, | |
"extraResources": [ | |
"./assets/**" | |
], | |
"protocols": [ | |
{ | |
"name": "MyApp", | |
"schemes": [ | |
"myapp" | |
] | |
} | |
] | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment