mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 18:42:58 +03:00
fix(electron): wrong app path (#8260)
This commit is contained in:
parent
3d80725c1a
commit
58025729b0
@ -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'
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user