Resolve Electron binary directly at startup
Template tests / tests (push) Failing after 3s

This commit is contained in:
Iisyourdad
2026-06-10 18:58:07 -05:00
parent 6cae669767
commit 814a593887
3 changed files with 156 additions and 1 deletions
+3 -1
View File
@@ -3,7 +3,9 @@
const { spawn } = require('node:child_process');
const electronPath = require('electron');
const { resolveElectronBinary } = require('./electron-launcher');
const electronPath = resolveElectronBinary();
const env = { ...process.env };
delete env.ELECTRON_RUN_AS_NODE;