bump electron-build and add fuse (#8602)

* bump electron-build and add fuse

* ts

* fix ts issue

* js

* re-enable notarize

* update notarize step

* fix jsdoc
This commit is contained in:
Jack Kavanagh
2025-04-11 13:10:42 +02:00
committed by Jay Wu
parent 7aec0bf893
commit ae15dc44fb
4 changed files with 1256 additions and 603 deletions

View File

@@ -95,6 +95,7 @@ jobs:
NODE_OPTIONS: '--max_old_space_size=6144'
APPLE_ID: ${{ runner.os == 'macOS' && secrets.DESIGNER_APPLE_ID || '' }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ runner.os == 'macOS' && secrets.DESIGNER_APPLE_ID_PASSWORD || '' }}
APPLE_TEAM_ID: FX44YY62GV
CSC_LINK: ${{ matrix.csc_link_secret != '' && secrets[matrix.csc_link_secret] || '' }}
CSC_KEY_PASSWORD: ${{ matrix.csc_key_password_secret != '' && secrets[matrix.csc_key_password_secret] || '' }}

1833
package-lock.json generated
View File

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,4 @@
const BINARY_PREFIX = 'Insomnia.Core';
// NOTE: USE_HARD_LINKS
// https://github.com/electron-userland/electron-builder/issues/4594#issuecomment-574653870
@@ -58,9 +57,7 @@ const config = {
NSRequiresAquaSystemAppearance: false,
},
// If this step fails its possible apple has new license terms which need to be accepted by logging into https://developer.apple.com/account
notarize: {
teamId: 'FX44YY62GV',
},
notarize: true,
asarUnpack: [
'node_modules/@getinsomnia/node-libcurl',
],
@@ -89,8 +86,10 @@ const config = {
target: 'squirrel',
},
],
sign: './customSign.js',
signingHashAlgorithms: ['sha256'], // avoid duplicate signing hook calls https://github.com/electron-userland/electron-builder/issues/3995#issuecomment-505725704
signtoolOptions: {
sign: './customSign.js',
signingHashAlgorithms: ['sha256'], // avoid duplicate signing hook calls https://github.com/electron-userland/electron-builder/issues/3995#issuecomment-505725704
},
},
squirrelWindows: {
artifactName: `${BINARY_PREFIX}-\${version}.\${ext}`,
@@ -107,10 +106,12 @@ const config = {
synopsis: 'The Collaborative API Client and Design Tool',
category: 'Development',
desktop: {
Name: 'Insomnia',
Comment: 'Insomnia is a cross-platform REST client, built on top of Electron.',
Categories: 'Development',
Keywords: 'GraphQL;REST;gRPC;SOAP;openAPI;GitOps;',
entry: {
Name: 'Insomnia',
Comment: 'Insomnia is a cross-platform REST client, built on top of Electron.',
Categories: 'Development',
Keywords: 'GraphQL;REST;gRPC;SOAP;openAPI;GitOps;',
}
},
target: [
{

View File

@@ -152,8 +152,8 @@
"date-fns": "^3.6.0",
"deep-equal": "^1.0.1",
"electron": "35.0.2",
"electron-builder": "24.13.3",
"electron-builder-squirrel-windows": "24.13.3",
"electron-builder": "26.0.12",
"electron-builder-squirrel-windows": "26.0.12",
"electron-devtools-installer": "^3.2.0",
"esbuild": "^0.24.0",
"esbuild-plugin-alias": "0.2.1",