This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathelectron-builder.json
144 lines (144 loc) · 5.73 KB
/
electron-builder.json
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"$schema": "http://json.schemastore.org/electron-builder",
"appId": "com.dock.photon",
"productName": "Photon",
"copyright": "Copyright © 2021 Dock",
"files": [
"dist/**/*",
"node_modules/**/*",
"package.json",
"assets/**/*"
],
"nsis": {
"include": "lib/win/installer.nsh",
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"allowElevation": true
},
"win": {
"target": [
"NSIS"
],
"icon": "./assets/icon.png"
},
"linux": {
"category": "TerminalEmulator",
"target": [
{
"target": "deb",
"arch": [
"x64",
"arm64"
]
},
{
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
},
{
"target": "rpm",
"arch": [
"x64",
"arm64"
]
},
{
"target": "snap",
"arch": [
"x64"
]
}
],
"icon": "./assets/icon.icns"
},
"mac": {
"icon": "./assets/icon.icns",
"target": {
"target": "default",
"arch": [
"x64",
"arm64"
]
},
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"category": "public.app-category.developer-tools",
"extendInfo": {
"CFBundleDocumentTypes": [
{
"CFBundleTypeName": "Folders",
"CFBundleTypeRole": "Viewer",
"LSHandlerRank": "Alternate",
"LSItemContentTypes": [
"public.folder",
"com.apple.bundle",
"com.apple.package",
"com.apple.resolvable"
]
},
{
"CFBundleTypeName": "UnixExecutables",
"CFBundleTypeRole": "Shell",
"LSHandlerRank": "Alternate",
"LSItemContentTypes": [
"public.unix-executable"
]
}
],
"NSAppleEventsUsageDescription": "An application in Photon wants to use AppleScript.",
"NSCalendarsUsageDescription": "An application in Photon wants to access Calendar data.",
"NSCameraUsageDescription": "An application in Photon wants to use the Camera.",
"NSContactsUsageDescription": "An application in Photon wants to access your Contacts.",
"NSDesktopFolderUsageDescription": "An application in Photon wants to access the Desktop folder.",
"NSDocumentsFolderUsageDescription": "An application in Photon wants to access the Documents folder.",
"NSDownloadsFolderUsageDescription": "An application in Photon wants to access the Downloads folder.",
"NSFileProviderDomainUsageDescription": "An application in Photon wants to access files managed by a file provider.",
"NSFileProviderPresenceUsageDescription": "An application in Photon wants to be informed when other apps access files that it manages.",
"NSLocationUsageDescription": "An application in Photon wants to access your location information.",
"NSMicrophoneUsageDescription": "An application in Photon wants to use your microphone.",
"NSMotionUsageDescription": "An application in Photon wants to use the device’s accelerometer.",
"NSNetworkVolumesUsageDescription": "An application in Photon wants to access files on a network volume.",
"NSPhotoLibraryUsageDescription": "An application in Photon wants to access the photo library.",
"NSRemindersUsageDescription": "An application in Photon wants to access your reminders.",
"NSRemovableVolumesUsageDescription": "An application in Photon wants to access files on a removable volume.",
"NSSpeechRecognitionUsageDescription": "An application in Photon wants to send user data to Apple’s speech recognition servers.",
"NSSystemAdministrationUsageDescription": "The operation being performed by an application in Photon requires elevated permission."
},
"darkModeSupport": true
},
"directories": {
"output": "release",
"buildResources": "./assets"
},
"deb": {
"compression": "bzip2",
"afterInstall": "./bin/linux/after-install.tpl"
},
"rpm": {
"afterInstall": "./bin/linux/after-install.tpl"
},
"snap": {
"confinement": "classic",
"publish": "github"
},
"protocols": {
"name": "ssh URL",
"schemes": [
"ssh"
]
},
"extraResources": [
{
"from": "./bin/${os}/",
"to": "bin"
},
"./bin/cli.js",
{
"from": "./app/themes/",
"to": "themes"
}
]
}