forked from openblockcc/openblock-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.yaml
59 lines (55 loc) · 1.86 KB
/
electron-builder.yaml
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
directories:
buildResources: buildResources
output: dist
extraResources: ["tools", "external-resources", 'firmwares', "statics", "drivers"]
appId: openblock.cc.openblock-desktop
productName: "OpenBlock Desktop"
publish: # empty provider list = don't publish
fileAssociations:
ext: ob
name: OpenBlock project file
role: Editor
icon: buildResources/OpenBlockFile.ico
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/OpenBlockDesktop.icns
provisioningProfile: embedded.provisionprofile
artifactName: "OpenBlock Desktop ${version}.${ext}"
target:
- dmg
# - mas
dmg:
title: "OpenBlock Desktop ${version}"
# mas:
# category: public.app-category.education
# entitlements: buildResources/entitlements.mas.plist
# entitlementsInherit: buildResources/entitlements.mas.inherit.plist
# hardenedRuntime: false
# icon: buildResources/OpenBlockDesktop.icns
# masDev:
# type: development
# provisioningProfile: mas-dev.provisionprofile
win:
icon: buildResources/OpenBlockDesktop.ico
target:
# - appx
- nsis
# appx:
# identityName: "OpenblockTeam.OpenblockDesktop
# publisherDisplayName: "OpenBlock Team"
# publisher: "CN=2EC43DF1-469A-4119-9AB9-568A0A1FF65F"
# artifactName: "OpenBlock ${version}.${ext}"
nsis:
oneClick: false # allow user to choose per-user or per-machine
allowToChangeInstallationDirectory: true
include: buildResources/installer.nsh
# license: LICENSE
artifactName: "OpenBlock Desktop ${version} Setup.${ext}"