mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(electron): fix electron script path (#8278)
This commit is contained in:
@@ -7,7 +7,7 @@ const ReleaseTypeSchema = z.enum(['stable', 'beta', 'canary', 'internal']);
|
|||||||
|
|
||||||
const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
||||||
|
|
||||||
const REPO_ROOT = path.resolve(__dirname, '..', '..', '..', '..');
|
const REPO_ROOT = path.resolve(__dirname, '..', '..', '..', '..', '..');
|
||||||
const ROOT = path.resolve(__dirname, '..');
|
const ROOT = path.resolve(__dirname, '..');
|
||||||
|
|
||||||
const envBuildType = (process.env.BUILD_TYPE || 'canary').trim().toLowerCase();
|
const envBuildType = (process.env.BUILD_TYPE || 'canary').trim().toLowerCase();
|
||||||
|
|||||||
Reference in New Issue
Block a user