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: explicitly deny geolocation permission to electron process
Abdullah Atta03cd32066589
diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.tsindex 9b3ea2f82..83b78ac44 100644--- a/apps/desktop/src/main.ts+++ b/apps/desktop/src/main.ts@@ -147,6 +147,11 @@ async function createWindow() {await AssetManager.loadIcons();setupDesktopIntegration(config.desktopSettings);+ mainWindow.webContents.session.setPermissionRequestHandler(+ (webContents, permission, callback) => {+ callback(permission === "geolocation" ? false : true);+ }+ );mainWindow.webContents.session.setSpellCheckerDictionaryDownloadURL("http://dictionaries.notesnook.com/");