forked from scratchfoundation/scratch-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yaml
More file actions
65 lines (65 loc) · 2.06 KB
/
electron-builder.yaml
File metadata and controls
65 lines (65 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
directories:
buildResources: buildResources
output: dist
appId: edu.mit.scratch.scratch-desktop
productName: "Scratch 3"
publish: # empty provider list = don't publish
files:
- dist/main/
- dist/renderer/
- package.json
extraResources: # copy the downloaded static assets to make sure they are available for the artifact
- from: static/
to: static/
filter:
- "**/*"
mac:
category: public.app-category.education
entitlements: buildResources/entitlements.mac.plist
extendInfo:
ITSAppUsesNonExemptEncryption: false
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}"
linux:
target: AppImage
executableName: scratch-desktop
# Currently Linux builds are supported only for development and have
# not been tested in a production environment.
category: development
# Ensure sandbox permissions are set
asarUnpack:
- chrome-sandbox