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 autoupdater
Abdullah Atta146223e2b695
diff --git a/apps/desktop/src/utils/autoupdater.ts b/apps/desktop/src/utils/autoupdater.tsindex 2d601cf39..30288c634 100644--- a/apps/desktop/src/utils/autoupdater.ts+++ b/apps/desktop/src/utils/autoupdater.ts@@ -26,12 +26,9 @@ const CHANNEL = autoUpdater.currentVersion.raw.endsWith("-beta")async function configureAutoUpdater() {autoUpdater.setFeedURL({provider: "generic",- url: `https://notesnook.com/releases/${process.platform}/`,+ url: `https://notesnook.com/api/v1/releases/${process.platform}/${CHANNEL}`,useMultipleRangeRequest: false,- channel: CHANNEL,- requestHeaders: {- RELEASE_CHANNEL: CHANNEL- }+ channel: CHANNEL});autoUpdater.autoDownload = config.automaticUpdates;