Add smoke tests to electron app

This commit is contained in:
ges committed 2026-01-06 01:52:34 +01:00
1 parent 8fe05b5244
commit 947b5ded93
2 files changed
+29

No files matched your search

+7
View File
@@ -88,6 +88,13 @@ function createWindow() {
}
app.whenReady().then(() => {
if (process.env.CI) {
process.on("uncaughtException", (err) => {
console.error("Uncaught exception:", err);
app.exit(1);
});
setTimeout(() => app.quit(), 3000);
}
autoUpdater.checkForUpdatesAndNotify();
let broadcastRect = { width: 0, height: 0 };