mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-05 03:19:52 +08:00
fix(electron): incorrect path to root dir (#8220)
This commit is contained in:
@@ -8,7 +8,7 @@ import type { BuildOptions, Plugin } from 'esbuild';
|
|||||||
|
|
||||||
export const electronDir = fileURLToPath(new URL('..', import.meta.url));
|
export const electronDir = fileURLToPath(new URL('..', import.meta.url));
|
||||||
|
|
||||||
export const rootDir = resolve(electronDir, '..', '..', '..');
|
export const rootDir = resolve(electronDir, '..', '..', '..', '..');
|
||||||
|
|
||||||
export const NODE_MAJOR_VERSION = 18;
|
export const NODE_MAJOR_VERSION = 18;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user