fix: harden deployment discovery and preflight
ForgeFlow quality gate / quality (push) Canceled after 0s

This commit is contained in:
NuklearRabbit
2026-08-08 23:59:27 +02:00
parent f866b12fbf
commit 4c21616e72
18 changed files with 166 additions and 35 deletions
+5
View File
@@ -41,6 +41,10 @@ let diagnostics;
let configStore;
let tray;
let quitCleanupStarted = false;
const ownsSingleInstanceLock = app.requestSingleInstanceLock();
if (!ownsSingleInstanceLock) app.quit();
else app.on("second-instance", () => showMainWindow());
function broadcast(channel, payload) {
for (const window of BrowserWindow.getAllWindows()) {
@@ -171,6 +175,7 @@ function createWindow() {
app
.whenReady()
.then(async () => {
if (!ownsSingleInstanceLock) return;
session.defaultSession.webRequest.onHeadersReceived((details, callback) => {
callback({
responseHeaders: {