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: disable native crypto
Abdullah Atta0f17b01a7412
diff --git a/apps/web/src/interfaces/nncrypto.ts b/apps/web/src/interfaces/nncrypto.tsindex 4d4b3d75b..924a81532 100644--- a/apps/web/src/interfaces/nncrypto.ts+++ b/apps/web/src/interfaces/nncrypto.ts@@ -21,7 +21,8 @@ import { INNCrypto } from "@notesnook/crypto";import CryptoWorker from "./nncrypto.worker?worker";import { wrap } from "comlink";-export const NNCrypto =- IS_DESKTOP_APP && window.NativeNNCrypto- ? new window.NativeNNCrypto()- : (wrap<INNCrypto>(new CryptoWorker()) as INNCrypto);+export const NNCrypto = wrap<INNCrypto>(new CryptoWorker()) as INNCrypto;+// TODO: disable until we fix the `pull failed` errors for good.+// IS_DESKTOP_APP && window.NativeNNCrypto+// ? new window.NativeNNCrypto()+// : (wrap<INNCrypto>(new CryptoWorker()) as INNCrypto);