From 58025729b0537a11695affb30fb709316375a4d1 Mon Sep 17 00:00:00 2001 From: forehalo Date: Sat, 14 Sep 2024 06:28:46 +0000 Subject: [PATCH] fix(electron): wrong app path (#8260) --- packages/frontend/apps/electron/scripts/generate-assets.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/frontend/apps/electron/scripts/generate-assets.ts b/packages/frontend/apps/electron/scripts/generate-assets.ts index 649284bac4..928dced290 100755 --- a/packages/frontend/apps/electron/scripts/generate-assets.ts +++ b/packages/frontend/apps/electron/scripts/generate-assets.ts @@ -9,13 +9,14 @@ import { glob } from 'glob'; const require = createRequire(import.meta.url); const __dirname = fileURLToPath(new URL('.', import.meta.url)); -const repoRootDir = path.join(__dirname, '..', '..', '..', '..'); +const repoRootDir = path.join(__dirname, '..', '..', '..', '..', '..'); const electronRootDir = path.join(__dirname, '..'); const publicDistDir = path.join(electronRootDir, 'resources'); const webDir = path.join( repoRootDir, 'packages', 'frontend', + 'apps', 'electron', 'renderer' );