fix(electron): wrong app path (#8260)

This commit is contained in:
forehalo 2024-09-14 06:28:46 +00:00
parent 3d80725c1a
commit 58025729b0
No known key found for this signature in database
GPG Key ID: 56709255DC7EC728

View File

@ -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'
);