fix(app): stabilize server switching

This commit is contained in:
LukeParkerDev
2026-05-04 23:34:03 +10:00
parent e5a4f6f603
commit de69c5af0a
8 changed files with 80 additions and 71 deletions
@@ -87,6 +87,7 @@ setupApp()
function setupApp() {
ensureLoopbackNoProxy()
app.commandLine.appendSwitch("proxy-bypass-list", "<-loopback>")
if (!app.isPackaged) app.commandLine.appendSwitch("remote-debugging-port", "9222")
if (!app.requestSingleInstanceLock()) {
app.quit()