-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder-config.js
More file actions
46 lines (44 loc) · 1.15 KB
/
electron-builder-config.js
File metadata and controls
46 lines (44 loc) · 1.15 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
module.exports = {
appId: 'com.electron.rmst-tools',
productName: 'rmst-tools',
directories: {
buildResources: 'build'
},
files: [
'!**/.vscode/*',
'!src/*',
'!electron.vite.config.{js,ts,mjs,cjs}',
'!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}',
'!{.env,.env.*,.npmrc,pnpm-lock.yaml}',
'!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
],
asar: true,
asarUnpack: ['resources/**'],
win: {
executableName: 'rmst-tools',
icon: 'resources/icons/win/icon.ico'
},
nsis: {
artifactName: '${name}-${version}-setup.${ext}',
shortcutName: '${productName}',
uninstallDisplayName: '${productName}',
createDesktopShortcut: 'always',
oneClick: false,
language: '2052',
perMachine: true,
allowToChangeInstallationDirectory: true,
deleteAppDataOnUninstall: true
},
npmRebuild: false,
// publish: {
// provider: 'generic',
// url: 'http://127.0.0.1:1666/public/latest'
// }
publish: {
provider: 'github',
owner: 'rmstsd',
repo: 'rmst-tools',
vPrefixedTagName: true,
releaseType: 'release'
}
}