-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.electron-builder.config.js
More file actions
73 lines (73 loc) · 1.61 KB
/
.electron-builder.config.js
File metadata and controls
73 lines (73 loc) · 1.61 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
66
67
68
69
70
71
72
73
module.exports = {
appId: 'com.sparkplate.app',
productName: 'Sparkplate',
copyright: '2023',
directories: {
output: 'dist_electron'
},
files: [
'dist/**/*',
'!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}',
'!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}',
'!**/node_modules/*.d.ts',
'!**/node_modules/.bin',
'!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}',
'!.editorconfig',
'!**/._*',
'!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}',
'!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}',
'!**/{appveyor.yml,.travis.yml,circle.yml}',
'!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}',
'!**/{.env*}'
],
linux: {
category: 'Office',
target: [
{
target: 'deb',
arch: ['x64']
},
{
target: 'rpm',
arch: ['x64']
},
{
target: 'AppImage',
arch: ['x64']
},
{
target: 'snap',
arch: ['x64']
},
{
target: 'flatpak',
arch: ['x64']
}
],
icon: './icons/'
},
mac: {
category: 'public.app-category.office',
target: [
{
target: 'dmg',
arch: ['x64']
}
],
icon: './icon.icns',
hardenedRuntime: true,
entitlements: 'entitlements.mac.plist',
extendInfo: {
NSMicrophoneUsageDescription: 'Please give us access to your microphone'
}
},
win: {
target: [
{
target: 'msi',
arch: ['x64']
}
],
icon: './build/icon.ico'
}
}