-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathbuilder.config.js
65 lines (65 loc) · 1.61 KB
/
builder.config.js
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
module.exports = {
appId: 'education.lumi.lumi',
productName: 'Lumi',
asar: true,
icon: 'electron/assets/lumi.icns',
files: [
'build/**/*',
'node_modules/**/*',
'reporter-client/build/static/js/**/*',
'scorm-client/**/*',
'package.json',
'h5p/**/*',
'electron/**/*',
'locales/**/*'
],
mac: {
category: 'education.lumi.lumi',
gatekeeperAssess: false,
entitlements: 'electron/mac/entitlements.mac.plist',
entitlementsInherit: 'electron/mac/entitlements.mac.plist',
fileAssociations: {
ext: 'h5p',
name: 'H5P'
},
target: [
{
target: 'dmg',
arch: ['arm64', 'x64']
},
{
target: 'zip',
arch: ['arm64', 'x64']
}
],
hardenedRuntime: true
},
afterSign: 'scripts/notarize.js',
win: {
icon: 'electron/assets/lumi.png',
fileAssociations: {
ext: 'h5p',
name: 'H5P'
}
},
appx: {
identityName: process.env.APPX_IDENTITY_NAME,
applicationId: process.env.APPX_APPLICATION_ID,
publisher: process.env.APPX_PUBLISHER,
displayName: process.env.APPX_DISPLAY_NAME,
publisherDisplayName: process.env.APPX_PUBLISHER_DISPLAY_NAME
},
nsis: {
deleteAppDataOnUninstall: true
},
linux: {
category: 'Utility'
},
dmg: {
sign: false
},
publish: {
provider: 'github',
releaseType: 'release'
}
};