diff --git a/apps/desktop/src/utils/autoupdater.ts b/apps/desktop/src/utils/autoupdater.ts index 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;