|
5 | 5 | module.exports = { |
6 | 6 | appId: 'com.paxanddos.lucast', |
7 | 7 | productName: 'Lucast', |
8 | | - copyright: 'Copyright © 2022 ${author}', |
9 | 8 | asar: true, |
10 | | - directories: { |
11 | | - output: 'release/${version}', |
12 | | - buildResources: 'build', |
13 | | - }, |
| 9 | + copyright: 'Copyright © 2022 ${author}', |
| 10 | + directories: { buildResources: 'build', output: 'release/${version}' }, |
14 | 11 | files: ['dist'], |
15 | | - win: { |
16 | | - target: [ |
17 | | - { |
18 | | - target: 'nsis', |
19 | | - arch: ['x64'], |
20 | | - }, |
21 | | - ], |
22 | | - }, |
| 12 | + win: { target: [{ arch: ['x64'], target: 'nsis' }] }, |
23 | 13 | nsis: { |
24 | | - oneClick: false, |
25 | | - perMachine: false, |
26 | 14 | allowToChangeInstallationDirectory: true, |
27 | | - deleteAppDataOnUninstall: false, |
28 | 15 | artifactName: '${productName}-Setup.${ext}', |
29 | 16 | createDesktopShortcut: true, |
30 | 17 | createStartMenuShortcut: true, |
| 18 | + deleteAppDataOnUninstall: false, |
| 19 | + oneClick: false, |
| 20 | + perMachine: false, |
31 | 21 | runAfterFinish: true, |
| 22 | + uninstallDisplayName: '${productName}', |
32 | 23 | }, |
33 | 24 | mac: { |
34 | | - identity: 'PAXANDDOS Individual Co.', |
| 25 | + category: 'public.app-category.utilities', |
| 26 | + electronLanguages: ['en'], |
35 | 27 | extendInfo: { |
36 | | - ElectronTeamID: 'paxanddos', |
37 | | - 'com.apple.developer.team-identifier': 'paxanddos', |
38 | | - 'com.apple.application-identifier': 'paxanddos.github.io', |
39 | 28 | 'Bundle name': '${productName}', |
| 29 | + 'com.apple.application-identifier': 'paxanddos.github.io', |
| 30 | + 'com.apple.developer.team-identifier': 'paxanddos', |
| 31 | + ElectronTeamID: 'paxanddos', |
40 | 32 | LSHasLocalizedDisplayName: true, |
41 | 33 | }, |
42 | | - electronLanguages: ['en'], |
| 34 | + identity: 'PAXANDDOS Individual Co.', |
43 | 35 | target: ['dmg'], |
44 | | - category: 'public.app-category.utilities', |
45 | 36 | }, |
46 | 37 | dmg: { |
47 | 38 | artifactName: '${productName}-Installer.${ext}', |
48 | | - title: '${productName} ${version}', |
49 | 39 | sign: false, |
| 40 | + title: '${productName} ${version}', |
50 | 41 | }, |
51 | | - linux: { |
52 | | - target: ['AppImage'], |
53 | | - category: 'Utility', |
54 | | - }, |
55 | | - appImage: { |
56 | | - artifactName: '${productName}-Installer.${ext}', |
57 | | - }, |
| 42 | + linux: { category: 'Utility', target: ['AppImage'] }, |
| 43 | + appImage: { artifactName: '${productName}-Installer.${ext}' }, |
58 | 44 | } |
0 commit comments