electron-builder.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. ---
  2. appId: org.tabby
  3. productName: Tabby
  4. compression: normal
  5. npmRebuild: false
  6. afterSign: "./build/mac/afterSignHook.js"
  7. afterAllArtifactBuild: "./build/mac/afterBuildHook.js"
  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. publish:
  38. - provider: github
  39. win:
  40. icon: "./build/windows/icon.ico"
  41. artifactName: tabby-${version}-portable.${ext}
  42. rfc3161TimeStampServer: http://sha256timestamp.ws.symantec.com/sha256/timestamp
  43. nsis:
  44. oneClick: false
  45. artifactName: tabby-${version}-setup.${ext}
  46. installerIcon: "./build/windows/icon.ico"
  47. allowToChangeInstallationDirectory: true
  48. shortcutName: Tabby Terminal
  49. mac:
  50. category: public.app-category.video
  51. icon: "./build/mac/icon.icns"
  52. artifactName: tabby-${version}-macos-${env.ARCH}.${ext}
  53. hardenedRuntime: true
  54. entitlements: "./build/mac/entitlements.plist"
  55. entitlementsInherit: "./build/mac/entitlements.plist"
  56. extendInfo:
  57. NSRequiresAquaSystemAppearance: false
  58. NSCameraUsageDescription: "A subprocess requests access to the device's camera."
  59. NSMicrophoneUsageDescription: "A subprocess requests access to the device's microphone."
  60. NSLocationUsageDescription: "A subprocess requests access to the user's location information."
  61. NSDesktopFolderUsageDescription: "A subprocess requests access to the user's Desktop folder."
  62. NSDocumentsFolderUsageDescription: "A subprocess requests access to the user's Documents folder."
  63. NSDownloadsFolderUsageDescription: "A subprocess requests access to the user's Downloads folder."
  64. NSNetworkVolumesUsageDescription: 'A subprocess requests access to files on a network volume.'
  65. NSRemovableVolumesUsageDescription: 'A subprocess requests access to files on a removable volume.'
  66. linux:
  67. category: Utility
  68. icon: "./build/icons"
  69. artifactName: tabby-${version}-linux.${ext}
  70. executableArgs:
  71. - "--no-sandbox"
  72. desktop:
  73. StartupWMClass: tabby
  74. snap:
  75. plugs:
  76. - default
  77. - system-files
  78. - system-observe
  79. deb:
  80. depends:
  81. - gconf2
  82. - gconf-service
  83. - gnome-keyring
  84. - libnotify4
  85. - libsecret-1-0
  86. - libxtst6
  87. - libnss3
  88. afterInstall: build/linux/after-install.tpl
  89. fpm:
  90. - '--replaces'
  91. - 'terminus-terminal'
  92. pacman:
  93. depends:
  94. - gnome-keyring
  95. - libsecret
  96. rpm:
  97. depends:
  98. - gnome-keyring
  99. fpm:
  100. - '--rpm-rpmbuild-define'
  101. - '_build_id_links none'
  102. - '--replaces'
  103. - 'terminus-terminal'