release: restore v2.1.19 baseline for v2.1.24
CI / verify (push) Has been cancelled

Restore the v2.1.19 application baseline and retain only the focused import preflight summary with duplicate, unavailable, destination, job, and size-limit visibility.
This commit is contained in:
Sucukdeluxe
2026-08-17 04:25:22 +02:00
parent 9a213a7395
commit d7c9f287e4
87 changed files with 2185 additions and 16125 deletions
-57
View File
@@ -1,57 +0,0 @@
function installHiddenElectronWindowHarness({ BrowserWindow, targetGlobal = globalThis }) {
const requestedAlwaysOnTop = new WeakMap();
const createdWindows = new Set();
class HiddenBrowserWindow extends BrowserWindow {
constructor(options = {}) {
super({
...options,
show: false,
focusable: false,
skipTaskbar: true,
alwaysOnTop: false,
paintWhenInitiallyHidden: true,
webPreferences: {
...(options.webPreferences || {}),
offscreen: true,
backgroundThrottling: false
}
});
createdWindows.add(this);
if (typeof this.setIgnoreMouseEvents === 'function') this.setIgnoreMouseEvents(true);
}
show() {}
showInactive() {}
focus() {}
restore() {}
moveTop() {}
setAlwaysOnTop(value) {
requestedAlwaysOnTop.set(this, Boolean(value));
}
isAlwaysOnTop() {
return requestedAlwaysOnTop.get(this) === true;
}
}
targetGlobal.__mhuBrowserWindowConstructor = HiddenBrowserWindow;
return {
getWindows() {
return [...createdWindows].filter(window => typeof window.isDestroyed !== 'function' || !window.isDestroyed());
},
isAlwaysOnTopRequested(window) {
return requestedAlwaysOnTop.get(window) === true;
},
isNativeSurfaceSuppressed(window) {
return window.isVisible() === false && window.isFocused() === false;
},
areNativeSurfacesSuppressed(windows) {
return windows.every(window => window.isVisible() === false && window.isFocused() === false);
}
};
}
module.exports = { installHiddenElectronWindowHarness };