fix(electron): fix electron script path (#8278)

This commit is contained in:
EYHN
2024-09-18 12:14:56 +08:00
committed by GitHub
parent 315c20f8e5
commit 714b7b863e

View File

@@ -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();