Ignore Electron download skip flag during startup
Template tests / tests (push) Failing after 15s

This commit is contained in:
Iisyourdad
2026-06-10 19:34:00 -05:00
parent a94f262565
commit e20af548a0
3 changed files with 39 additions and 21 deletions
+2 -3
View File
@@ -3,7 +3,7 @@
const { spawn } = require('node:child_process');
const { resolveElectronBinary } = require('./electron-launcher');
const { resolveElectronBinary, sanitizeElectronEnv } = require('./electron-launcher');
let electronPath;
try {
@@ -12,8 +12,7 @@ try {
console.error(error && error.message ? error.message : error);
process.exit(1);
}
const env = { ...process.env };
delete env.ELECTRON_RUN_AS_NODE;
const env = sanitizeElectronEnv();
const child = spawn(electronPath, ['.'], {
stdio: 'inherit',