mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 21:55:02 +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 require = createRequire(import.meta.url);
|
||||||
const __dirname = fileURLToPath(new URL('.', 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 electronRootDir = path.join(__dirname, '..');
|
||||||
const publicDistDir = path.join(electronRootDir, 'resources');
|
const publicDistDir = path.join(electronRootDir, 'resources');
|
||||||
const webDir = path.join(
|
const webDir = path.join(
|
||||||
repoRootDir,
|
repoRootDir,
|
||||||
'packages',
|
'packages',
|
||||||
'frontend',
|
'frontend',
|
||||||
|
'apps',
|
||||||
'electron',
|
'electron',
|
||||||
'renderer'
|
'renderer'
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user