fix(electron): incorrect path to root dir (#8220)

This commit is contained in:
pengx17
2024-09-12 09:00:18 +00:00
parent 23c7f8b01d
commit d2b482bcb2

View File

@@ -8,7 +8,7 @@ import type { BuildOptions, Plugin } from 'esbuild';
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;