From c9773735599c496f643e45677ef78af2686f1536 Mon Sep 17 00:00:00 2001 From: Santhosh Mani Date: Sat, 16 Mar 2024 04:46:18 +0000 Subject: [PATCH 1/3] build: Add plugin-fuses as devDep to fix electron-forge make build succesfully --- packages/api/core/src/api/init-scripts/init-npm.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/api/core/src/api/init-scripts/init-npm.ts b/packages/api/core/src/api/init-scripts/init-npm.ts index 9644a46102..598244daaf 100644 --- a/packages/api/core/src/api/init-scripts/init-npm.ts +++ b/packages/api/core/src/api/init-scripts/init-npm.ts @@ -22,6 +22,7 @@ export const devDeps = [ siblingDep('maker-deb'), siblingDep('maker-rpm'), siblingDep('plugin-auto-unpack-natives'), + siblingDep('plugin-fuses') ]; export const exactDevDeps = ['electron']; From 61b2927ca895bbf0d5beb2e9c7ffbf2611ef2fbe Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Tue, 9 Apr 2024 15:04:15 -0700 Subject: [PATCH 2/3] fix lint --- packages/api/core/src/api/init-scripts/init-npm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/core/src/api/init-scripts/init-npm.ts b/packages/api/core/src/api/init-scripts/init-npm.ts index 598244daaf..ae6ee44b47 100644 --- a/packages/api/core/src/api/init-scripts/init-npm.ts +++ b/packages/api/core/src/api/init-scripts/init-npm.ts @@ -22,7 +22,7 @@ export const devDeps = [ siblingDep('maker-deb'), siblingDep('maker-rpm'), siblingDep('plugin-auto-unpack-natives'), - siblingDep('plugin-fuses') + siblingDep('plugin-fuses'), ]; export const exactDevDeps = ['electron']; From b0ce99b7e04d536b0fff28d9af8718116dcb3612 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Tue, 9 Apr 2024 15:14:48 -0700 Subject: [PATCH 3/3] add @electron/fuses as well --- packages/api/core/src/api/init-scripts/init-npm.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/api/core/src/api/init-scripts/init-npm.ts b/packages/api/core/src/api/init-scripts/init-npm.ts index ae6ee44b47..c7e34f796e 100644 --- a/packages/api/core/src/api/init-scripts/init-npm.ts +++ b/packages/api/core/src/api/init-scripts/init-npm.ts @@ -16,6 +16,7 @@ export function siblingDep(name: string): string { export const deps = ['electron-squirrel-startup']; export const devDeps = [ + '@electron/fuses', siblingDep('cli'), siblingDep('maker-squirrel'), siblingDep('maker-zip'),