electron-builder.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. ---
  2. appId: org.tabby
  3. productName: Tabby
  4. compression: normal
  5. npmRebuild: false
  6. files:
  7. - '**/*'
  8. - dist
  9. - '!lib'
  10. - '!src'
  11. - '!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,node.lib}'
  12. - '!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples,docs}'
  13. - '!**/node_modules/@angular/common/locales'
  14. - '!**/node_modules/@angular/compiler/src'
  15. - '!**/node_modules/node-gyp'
  16. - '!**/node_modules/**/*.d.ts'
  17. - '!**/node_modules/**/*.map'
  18. - '!**/node_modules/**/include/node'
  19. - '!**/node_modules/.bin'
  20. - '!**/node_modules/*/*/{esm5,fesm5,esm2015,fesm2015,_esm2015,_fesm2015}'
  21. - '!**/*.{woff,ttf,otf,eot}'
  22. - '!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}'
  23. - '!.editorconfig'
  24. - '!**/._*'
  25. - '!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}'
  26. - '!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}'
  27. - '!**/{appveyor.yml,.travis.yml,circle.yml}'
  28. - '!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}'
  29. - '!**/deps/cpu_features/build'
  30. extraResources:
  31. - builtin-plugins
  32. - extras
  33. asarUnpack:
  34. - 'dist/*.map'
  35. - node_modules/keytar/build/Release/*.node
  36. - node_modules/**/*.node
  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. ElectronTeamID: ${teamId}
  56. NSRequiresAquaSystemAppearance: false
  57. NSCameraUsageDescription: "A subprocess requests access to the device's camera."
  58. NSMicrophoneUsageDescription: "A subprocess requests access to the device's microphone."
  59. NSLocationUsageDescription: "A subprocess requests access to the user's location information."
  60. NSDesktopFolderUsageDescription: "A subprocess requests access to the user's Desktop folder."
  61. NSDocumentsFolderUsageDescription: "A subprocess requests access to the user's Documents folder."
  62. NSDownloadsFolderUsageDescription: "A subprocess requests access to the user's Downloads folder."
  63. NSNetworkVolumesUsageDescription: 'A subprocess requests access to files on a network volume.'
  64. NSRemovableVolumesUsageDescription: 'A subprocess requests access to files on a removable volume.'
  65. NSAppleEventsUsageDescription: 'A subprocess requests permission to send AppleScript events to another application.'
  66. linux:
  67. category: "Utility;TerminalEmulator;System"
  68. icon: "./build/icons"
  69. artifactName: tabby-${version}-linux-${env.ARCH}.${ext}
  70. executableArgs:
  71. - "--no-sandbox"
  72. desktop:
  73. entry:
  74. StartupWMClass: tabby
  75. snap:
  76. plugs:
  77. - default
  78. - system-files
  79. - system-observe
  80. deb:
  81. depends:
  82. - gnome-keyring
  83. - libnotify4
  84. - libsecret-1-0
  85. - libxtst6
  86. - libnss3
  87. afterInstall: build/linux/after-install.tpl
  88. fpm:
  89. - '--replaces'
  90. - 'terminus-terminal'
  91. pacman:
  92. depends:
  93. - gnome-keyring
  94. - libsecret
  95. rpm:
  96. depends:
  97. - gnome-keyring
  98. fpm:
  99. - '--rpm-rpmbuild-define'
  100. - '_build_id_links none'
  101. - '--replaces'
  102. - 'terminus-terminal'
  103. electronFuses:
  104. runAsNode: false
  105. enableNodeOptionsEnvironmentVariable: false
  106. enableNodeCliInspectArguments: false