A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
desktop: fix app not appearing in alt-tab switcher (#9764)
01zulfi1071249baad5
diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.tsindex fc0232579..3bf553903 100644--- a/apps/desktop/src/main.ts+++ b/apps/desktop/src/main.ts@@ -165,6 +165,14 @@ async function createWindow() {);mainWindow.webContents.session.setProxy({ proxyRules: config.proxyRules });+ mainWindow.on("show", () =>+ /**+ * We may set `skipTaskbar` to true at startup.+ * This also removes the window from the Alt-Tab switcher.+ * To fix that, whenever the app is shown, we set `skipTaskbar` to false.+ */+ mainWindow.setSkipTaskbar(false)+ );mainWindow.once("closed", () => {globalThis.window = null;});