Skip to content

Commit

Permalink
Merge branch 'master' into tcsc/idc-friendlynames
Browse files Browse the repository at this point in the history
  • Loading branch information
tcsc authored Dec 12, 2024
2 parents b09ea80 + b757ce9 commit 0350b7c
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 23 deletions.
89 changes: 68 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions web/packages/teleterm/electron-builder-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ module.exports = {
appId,
asar: true,
asarUnpack: '**\\*.{node,dll}',
// TODO(ravicious): Migrate from custom notarize.js script to using the notarize field of the
// mac target.
afterSign: 'notarize.js',
afterPack: packed => {
// @electron-universal adds the `ElectronAsarIntegrity` key to every .plist
Expand Down Expand Up @@ -95,6 +97,9 @@ module.exports = {
target: 'dmg',
category: 'public.app-category.developer-tools',
type: 'distribution',
// TODO(ravicious): Migrate from custom notarize.js script to using the notarize field of the
// mac target.
notarize: false,
hardenedRuntime: true,
gatekeeperAssess: false,
// If CONNECT_TSH_APP_PATH is provided, we assume that tsh.app is already signed.
Expand Down
2 changes: 2 additions & 0 deletions web/packages/teleterm/notarize.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ exports.default = async function notarizing(context) {
const appName = context.packager.appInfo.productFilename;
const appBundleId = context.packager.appInfo.macBundleIdentifier;

console.log('notarize.js: Notarizing in progress.');

return await notarize({
appBundleId,
appPath: `${appOutDir}/${appName}.app`,
Expand Down
4 changes: 2 additions & 2 deletions web/packages/teleterm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"@types/whatwg-url": "^11.0.5",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"electron": "33.1.0",
"electron-builder": "^25.1.7",
"electron": "33.2.1",
"electron-builder": "^25.1.8",
"electron-vite": "^2.3.0",
"events": "3.3.0",
"immer": "^10.1.1",
Expand Down

0 comments on commit 0350b7c

Please sign in to comment.