electron-builder.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. ---
  2. appId: org.tabby
  3. productName: Tabby
  4. compression: normal
  5. npmRebuild: false
  6. afterSign: "./build/mac/afterSignHook.cjs"
  7. afterAllArtifactBuild: "./build/mac/afterBuildHook.cjs"
  8. files:
  9. - '**/*'
  10. - dist
  11. - '!lib'
  12. - '!src'
  13. - '!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,node.lib}'
  14. - '!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples,docs}'
  15. - '!**/node_modules/@angular/common/locales'
  16. - '!**/node_modules/@angular/compiler/src'
  17. - '!**/node_modules/node-gyp'
  18. - '!**/node_modules/**/*.d.ts'
  19. - '!**/node_modules/**/*.map'
  20. - '!**/node_modules/**/include/node'
  21. - '!**/node_modules/.bin'
  22. - '!**/node_modules/*/*/{esm5,fesm5,esm2015,fesm2015,_esm2015,_fesm2015}'
  23. - '!**/*.{woff,ttf,otf,eot}'
  24. - '!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}'
  25. - '!.editorconfig'
  26. - '!**/._*'
  27. - '!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}'
  28. - '!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}'
  29. - '!**/{appveyor.yml,.travis.yml,circle.yml}'
  30. - '!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}'
  31. - '!**/deps/cpu_features/build'
  32. extraResources:
  33. - builtin-plugins
  34. - extras
  35. asarUnpack:
  36. - 'dist/*.map'
  37. win:
  38. icon: "./build/windows/icon.ico"
  39. artifactName: tabby-${version}-portable-${env.ARCH}.${ext}
  40. rfc3161TimeStampServer: http://timestamp.sectigo.com
  41. nsis:
  42. oneClick: false
  43. artifactName: tabby-${version}-setup-${env.ARCH}.${ext}
  44. installerIcon: "./build/windows/icon.ico"
  45. allowToChangeInstallationDirectory: true
  46. shortcutName: Tabby Terminal
  47. mac:
  48. category: public.app-category.utilities
  49. icon: "./build/mac/icon.icns"
  50. artifactName: tabby-${version}-macos-${env.ARCH}.${ext}
  51. hardenedRuntime: true
  52. entitlements: "./build/mac/entitlements.plist"
  53. entitlementsInherit: "./build/mac/entitlements.plist"
  54. extendInfo:
  55. NSRequiresAquaSystemAppearance: false
  56. NSCameraUsageDescription: "A subprocess requests access to the device's camera."
  57. NSMicrophoneUsageDescription: "A subprocess requests access to the device's microphone."
  58. NSLocationUsageDescription: "A subprocess requests access to the user's location information."
  59. NSDesktopFolderUsageDescription: "A subprocess requests access to the user's Desktop folder."
  60. NSDocumentsFolderUsageDescription: "A subprocess requests access to the user's Documents folder."
  61. NSDownloadsFolderUsageDescription: "A subprocess requests access to the user's Downloads folder."
  62. NSNetworkVolumesUsageDescription: 'A subprocess requests access to files on a network volume.'
  63. NSRemovableVolumesUsageDescription: 'A subprocess requests access to files on a removable volume.'
  64. linux:
  65. category: "Utility;TerminalEmulator;System"
  66. icon: "./build/icons"
  67. artifactName: tabby-${version}-linux-${env.ARCH}.${ext}
  68. executableArgs:
  69. - "--no-sandbox"
  70. desktop:
  71. StartupWMClass: tabby
  72. snap:
  73. plugs:
  74. - default
  75. - system-files
  76. - system-observe
  77. deb:
  78. depends:
  79. - gconf2
  80. - gconf-service
  81. - gnome-keyring
  82. - libnotify4
  83. - libsecret-1-0
  84. - libxtst6
  85. - libnss3
  86. afterInstall: build/linux/after-install.tpl
  87. fpm:
  88. - '--replaces'
  89. - 'terminus-terminal'
  90. pacman:
  91. depends:
  92. - gnome-keyring
  93. - libsecret
  94. rpm:
  95. depends:
  96. - gnome-keyring
  97. fpm:
  98. - '--rpm-rpmbuild-define'
  99. - '_build_id_links none'
  100. - '--replaces'
  101. - 'terminus-terminal'