tabby/electron-builder.yml

94 lines
3.0 KiB
YAML
Raw Normal View History

2020-02-05 17:57:24 +08:00
---
appId: org.terminus
2020-11-22 02:53:17 +08:00
productName: Terminus
2020-02-05 17:57:24 +08:00
compression: normal
2020-12-24 23:04:15 +08:00
npmRebuild: false
2020-02-05 17:57:24 +08:00
afterSign: "./build/mac/afterSignHook.js"
2020-05-07 23:37:39 +08:00
afterAllArtifactBuild: "./build/mac/afterBuildHook.js"
2020-02-05 17:57:24 +08:00
files:
2021-01-02 17:41:04 +08:00
- '**/*'
2020-02-05 17:57:24 +08:00
- dist
2021-01-29 01:20:45 +08:00
- '!lib'
2021-01-02 17:41:04 +08:00
- '!src'
2021-01-29 01:20:45 +08:00
- '!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,node.lib}'
2021-01-02 17:41:04 +08:00
- '!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples,docs}'
2021-01-02 18:49:56 +08:00
- '!**/node_modules/@angular/common/locales'
- '!**/node_modules/@angular/compiler/src'
2021-01-02 17:41:04 +08:00
- '!**/node_modules/node-gyp'
- '!**/node_modules/**/*.d.ts'
- '!**/node_modules/**/*.map'
- '!**/node_modules/**/include/node'
- '!**/node_modules/.bin'
- '!**/node_modules/*/*/{esm5,fesm5,esm2015,fesm2015,_esm2015,_fesm2015}'
2021-01-02 18:49:56 +08:00
- '!**/*.{woff,ttf,otf,eot}'
2021-01-02 17:41:04 +08:00
- '!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}'
- '!.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'
2020-02-05 17:57:24 +08:00
extraResources:
- builtin-plugins
- extras
publish:
- provider: github
win:
icon: "./build/windows/icon.ico"
2020-02-13 17:42:26 +08:00
artifactName: terminus-${version}-portable.${ext}
2020-02-05 17:57:24 +08:00
rfc3161TimeStampServer: http://sha256timestamp.ws.symantec.com/sha256/timestamp
nsis:
oneClick: false
artifactName: terminus-${version}-setup.${ext}
installerIcon: "./build/windows/icon.ico"
allowToChangeInstallationDirectory: true
2020-02-05 17:57:24 +08:00
mac:
category: public.app-category.video
icon: "./build/mac/icon.icns"
2020-12-24 21:03:14 +08:00
artifactName: terminus-${version}-macos-${env.ARCH}.${ext}
2020-02-05 17:57:24 +08:00
hardenedRuntime: true
entitlements: "./build/mac/entitlements.plist"
entitlementsInherit: "./build/mac/entitlements.plist"
extendInfo:
NSRequiresAquaSystemAppearance: false
NSCameraUsageDescription: "A subprocess requests access to the device's camera."
NSMicrophoneUsageDescription: "A subprocess requests access to the device's microphone."
NSLocationUsageDescription: "A subprocess requests access to the user's location information."
NSDesktopFolderUsageDescription: "A subprocess requests access to the user's Desktop folder."
NSDocumentsFolderUsageDescription: "A subprocess requests access to the user's Documents folder."
NSDownloadsFolderUsageDescription: "A subprocess requests access to the user's Downloads folder."
NSNetworkVolumesUsageDescription: 'A subprocess requests access to files on a network volume.'
NSRemovableVolumesUsageDescription: 'A subprocess requests access to files on a removable volume.'
2020-02-05 17:57:24 +08:00
linux:
category: Utilities
icon: "./build/icons"
artifactName: terminus-${version}-linux.${ext}
executableArgs:
- "--no-sandbox"
snap:
plugs:
- default
- system-files
- system-observe
deb:
depends:
- gconf2
- gconf-service
- gnome-keyring
2020-02-05 17:57:24 +08:00
- libnotify4
- libsecret-1-0
- libappindicator1
- libxtst6
- libnss3
afterInstall: build/linux/after-install.tpl
rpm:
depends:
- screen
- gnome-keyring
fpm:
2021-02-28 19:34:49 +08:00
- '--rpm-rpmbuild-define'
- '_build_id_links none'