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
fix: check if we are on desktop before sending message
thecodrr080482903fe4
diff --git a/apps/web/src/commands/index.js b/apps/web/src/commands/index.jsindex d1b246c1f..1604769ff 100644--- a/apps/web/src/commands/index.js+++ b/apps/web/src/commands/index.js@@ -4,6 +4,8 @@ import { isDesktop } from "../utils/platform";export const ElectronEventManager = new EventManager();export function invokeCommand(type, payload = {}) {+ if (!isDesktop()) return;+window.api.send("fromRenderer", {type,...payload,