Skip to content

Commit

Permalink
fix(electron): wrong app path (#8260)
Browse files Browse the repository at this point in the history
  • Loading branch information
forehalo committed Sep 14, 2024
1 parent 3d80725 commit 5802572
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/frontend/apps/electron/scripts/generate-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
);
Expand Down

0 comments on commit 5802572

Please sign in to comment.