scratch-desktop/electron-builder.yaml
Christopher Willis-Ford 7a813c8779 bring back entitlements.mas.inherit.plist
This seems to be necessary to work around an issue:
https://github.com/electron/electron-osx-sign/issues/192
2020-03-30 18:09:59 -07:00

38 lines
1.2 KiB
YAML

directories:
buildResources: buildResources
output: dist
appId: edu.mit.scratch.scratch-desktop
productName: "Scratch Desktop"
afterSign: "scripts/afterSign.js"
mac:
category: public.app-category.education
entitlements: buildResources/entitlements.mac.plist
extendInfo:
NSCameraUsageDescription: >-
This app requires camera access when taking a photo in the paint editor or using the video sensing blocks.
NSMicrophoneUsageDescription: >-
This app requires microphone access when recording sounds or detecting loudness.
gatekeeperAssess: true
hardenedRuntime: true
icon: buildResources/ScratchDesktop.icns
provisioningProfile: embedded.provisionprofile
target:
- dmg
- mas
type: distribution
mas:
category: public.app-category.education
entitlements: buildResources/entitlements.mas.plist
entitlementsInherit: buildResources/entitlements.mas.inherit.plist
icon: buildResources/ScratchDesktop.icns
win:
icon: buildResources/ScratchDesktop.ico
target:
- appx
- nsis
appx:
identityName: ScratchFoundation.ScratchDesktop
publisherDisplayName: "Scratch Foundation"
publisher: "CN=2EC43DF1-469A-4119-9AB9-568A0A1FF65F"
nsis:
oneClick: false # allow user to choose per-user or per-machine