forked from watchingfun/Joi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.json5
63 lines (63 loc) · 1.76 KB
/
electron-builder.json5
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
/**
* @see https://www.electron.build/configuration/configuration
*/
{
appId: "YourAppID",
asar: true,
productName: "Joi",
copyright: "Copyright © 2023 ${author}",
directories: {
output: "release/${version}"
},
files: [
"dist",
"dist-electron",
"dist-native",
"!node_modules/**/node_modules",
"!**/node_modules/**/*.ts",
"!**/node_modules/**/*.js.map",
"!**/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,iobj,ipdb}",
"!.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}",
"!node_modules/{@morev/vue-transitions,@vueuse/components,@vueuse/core,animate.css,dayjs,echarts,epic-spinners,lodash,overlayscrollbars-vue,pinia,vue-echarts,vue-router}"
],
win: {
icon: "public/icon.ico",
target: [
{
target: "nsis",
arch: [
"x64"
]
}
],
requestedExecutionLevel: "highestAvailable",
artifactName: "${productName}-Windows-${version}-Setup.${ext}"
},
nsis: {
oneClick: false,
perMachine: false,
allowToChangeInstallationDirectory: true,
deleteAppDataOnUninstall: false
},
mac: {
target: [
"dmg"
],
artifactName: "${productName}-Mac-${version}-Installer.${ext}"
},
linux: {
target: [
"AppImage"
],
artifactName: "${productName}-Linux-${version}.${ext}"
}
}