generated from electron-vite/electron-vite-react
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.electron-builder.config.js
44 lines (44 loc) · 1.3 KB
/
.electron-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
/**
* @type {import('electron-builder').Configuration}
* @see https://www.electron.build/configuration/configuration
*/
module.exports = {
appId: 'com.paxanddos.lucast',
productName: 'Lucast',
asar: true,
copyright: 'Copyright © 2022 ${author}',
directories: { buildResources: 'build', output: 'release/${version}' },
files: ['dist'],
win: { target: [{ arch: ['x64'], target: 'nsis' }] },
nsis: {
allowToChangeInstallationDirectory: true,
artifactName: '${productName}-Setup.${ext}',
createDesktopShortcut: true,
createStartMenuShortcut: true,
deleteAppDataOnUninstall: false,
oneClick: false,
perMachine: false,
runAfterFinish: true,
uninstallDisplayName: '${productName}',
},
mac: {
category: 'public.app-category.utilities',
electronLanguages: ['en'],
extendInfo: {
'Bundle name': '${productName}',
'com.apple.application-identifier': 'paxanddos.github.io',
'com.apple.developer.team-identifier': 'paxanddos',
ElectronTeamID: 'paxanddos',
LSHasLocalizedDisplayName: true,
},
identity: 'PAXANDDOS Individual Co.',
target: ['dmg'],
},
dmg: {
artifactName: '${productName}-Installer.${ext}',
sign: false,
title: '${productName} ${version}',
},
linux: { category: 'Utility', target: ['AppImage'] },
appImage: { artifactName: '${productName}-Installer.${ext}' },
}