scratch-desktop/electron-builder.yaml
2022-01-27 16:44:13 -08:00

46 lines
1.5 KiB
YAML

directories:
buildResources: buildResources
output: dist
appId: edu.mit.scratch.scratch-desktop
productName: "Scratch 3"
publish: # empty provider list = don't publish
mac:
category: public.app-category.education
entitlements: buildResources/entitlements.mac.plist
extendInfo:
NSCameraUsageDescription: >-
This app requires camera access when 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: build/AppStore_edu.mit.scratch.scratch-desktop.provisionprofile
artifactName: "Scratch ${version}.${ext}"
target:
- dmg
- mas
dmg:
title: "Scratch ${version}"
mas:
category: public.app-category.education
entitlements: buildResources/entitlements.mas.plist
entitlementsInherit: buildResources/entitlements.mas.inherit.plist
hardenedRuntime: false
icon: buildResources/ScratchDesktop.icns
masDev:
type: development
provisioningProfile: build/Development_edu.mit.scratch.scratch-desktop.provisionprofile
win:
icon: buildResources/ScratchDesktop.ico
target:
- appx
- nsis
appx:
identityName: ScratchFoundation.ScratchDesktop
publisherDisplayName: "Scratch Foundation"
publisher: "CN=2EC43DF1-469A-4119-9AB9-568A0A1FF65F"
artifactName: "Scratch ${version} ${arch}.${ext}"
nsis:
oneClick: false # allow user to choose per-user or per-machine
artifactName: "Scratch ${version} Setup.${ext}"