-
Notifications
You must be signed in to change notification settings - Fork 2
/
electron-builder.yml
40 lines (40 loc) · 1.33 KB
/
electron-builder.yml
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
productName: Ame
appId: nzh63.ame
directories:
output: build
files:
- "dist/main/**/*"
- "dist/workers/**/*"
- "dist/render/**/*"
- "assets/*"
- "!**/node_modules/**/*.md"
- "!**/node_modules/**/{test,__tests__,tests,powered-test,example,examples}"
- "!**/node_modules/**/{docs,dic,website,img,image,assets}"
- "!**/node_modules/**/*.d.ts"
- "!**/node_modules/**/*.ts"
- "!**/node_modules/.bin"
- "!**/node_modules/**/{Makefile,Gulpfile.js,Gruntfile.js}"
- "!**/node_modules/**/*.{h,hpp,c,cc,cpp}"
- "!**/node_modules/**/*.{lib,obj,exp,iobj,ipdb,pdb,tlog}"
- "!**/node_modules/**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj,vcxproj,vcxproj.filters,gypi}"
- "!**/._*"
- "!**/{.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/sharp/vendor"
buildDependenciesFromSource: true
extraResources:
- from: ./static
to: static
filter:
- "**/*"
- "!static/native/bin/GPS.txt"
- from: ./dist
to: ..
filter:
- LICENSE.*.txt
icon: ./assets/icon.png
nsis:
deleteAppDataOnUninstall: true
artifactName: ${productName}-${platform}-${env.npm_config_arch}-${buildVersion}.${ext}