-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathelectron-builder.yml
95 lines (95 loc) · 4.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
appId: com.dMind.desktop
productName: dMind
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!**/node_modules/**/{CONTRIBUTORS,CNAME,AUTHOR,TODO,CONTRIBUTING,COPYING,INSTALL,NEWS,PORTING,Makefile,htdocs,CHANGELOG,ChangeLog,changelog,README,Readme,readme,test,sample,example,demo,composer.json,tsconfig.json,jsdoc.json,tslint.json,typings.json,gulpfile,bower.json,package-lock,Gruntfile,CMakeLists,karma.conf,yarn.lock}*'
- '!**/node_modules/**/{man,benchmark,spec,cmake,browser,vagrant,doxy*,bin,obj,obj.target,example,examples,test,tests,doc,docs,msvc,Xcode,CVS,RCS,SCCS}{,/**/*}'
- '!**/node_modules/**/*.{conf,png,pc,coffee,txt,spec.js,ts,js.flow,html,def,jst,xml,ico,in,ac,sln,dsp,dsw,cmd,vcproj,vcxproj,vcxproj.filters,pdb,exp,obj,lib,map,md,sh,gypi,gyp,h,cpp,yml,log,tlog,Makefile,mk,c,cc,rc,xcodeproj,xcconfig,d.ts,yaml,hpp}'
- '!**/node_modules/**!(dom-to-image).min.js'
- '!**/node_modules/!(serialport|xpc-connection|unix-dgram|mraa)/build{,/**/*}'
- '!**/node_modules/**/node-v*-x64{,/**/*}'
- '!**/node_modules/contextify{,/**/*}'
- '!**/node_modules/jsdom{,/**/*}'
- '!**/node_modules/babe-runtime{,/**/*}'
- '!**/node_modules/bluebird/js/browser{,/**/*}'
- '!**/node_modules/xterm/dist{,/**/*}'
- '!**/node_modules/source-map/dist{,/**/*}'
- '!**/node_modules/lodash/fp{,/**/*}'
- '!**/node_modules/moment/src{,/**/*}'
- '!**/node_modules/moment/min{,/**/*}'
- '!**/node_modules/moment/locale/!(fr.js|en.js|ja.js)'
- '!**/node_modules/async/!(dist|package.json)'
- '!**/node_modules/async/internal{,/**/*}'
- '!**/node_modules/ajv/dist{,/**/*}'
- '!**/node_modules/ajv/scripts{,/**/*}'
- '!**/node_modules/asn1/tst{,/**/*}'
- '!**/node_modules/axios/lib{,/**/*}'
- '!**/node_modules/axios/!(index.js|package.json)'
- '!**/node_modules/axios/dist/axios.min.js'
- '!**/node_modules/bluebird/js/browser{,/**/*}'
- '!**/node_modules/dom-to-image/src{,/**/*}'
- '!**/node_modules/xterm/src{,/**/*}'
- '!**/node_modules/qs/dist{,/**/*}'
- '!**/node_moduleslog4js/logs{,/**/*}'
- '!**/node_modulesi18next/!(index.js|package.json|dist)'
- '!**/node_modulesi18next/dist/!(commonjs)'
- '!**/node_modules/viewport-dimensions/dist{,/**/*}'
- '!**/node_modules/validator/!(lib|index.js|package.json|validator.js)'
- '!**/node_modules/moment-timezone/builds{,/**/*}'
- '!**/node_modules/moment-timezone/data/meta{,/**/*}'
- '!**/node_modules/moment-timezone/data/unpacked{,/**/*}'
- '!**/node_modules/node-pre-gyp/!(lib|package.json)'
- '!**/node_modules/node-pre-gyp/lib/!(util|pre-binding.js|node-pre-gyp.js)'
- '!**/node_modules/node-pre-gyp/lib/util/!(versioning.js|abi_crosswalk.json)'
- '!**/node_modules/ssh2/util{,/**/*}'
- '!**/node_modules/source-map-support/browser-source-map-support.js'
- '!**/node_modules/usb/!(package.json|src)'
- '!**/node_modules/opencv/!(package.json|lib)'
- '!**/node_modules/json-schema/!(package.json|lib)'
- '!**/node_modules/hawk/dist/{,/**/*}'
- '!**/node_modules/hawk/lib/browser.js'
- '!git_assets'
- '!src/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintignore,.eslintrc.js,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md,CODE_OF_CONDUCT.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
asarUnpack:
- resources/**
win:
target: 'nsis'
executableName: dMind
nsis:
oneClick: false
perMachine: true
license: LICENSE.txt
allowToChangeInstallationDirectory: true
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
mac:
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
dmg:
artifactName: ${name}-${version}.${ext}
linux:
target:
- AppImage
- snap
- deb
maintainer: electronjs.org
category: Utility
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false
publish:
provider: generic
url: https://example.com/auto-updates