Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: disable auto updater on dev (#4019)

Peng Xiao849e225a2d8f
diff --git a/apps/electron/src/main/updater/electron-updater.ts b/apps/electron/src/main/updater/electron-updater.ts
index 6615860fd5..52b6a84f0d 100644
--- a/apps/electron/src/main/updater/electron-updater.ts
+++ b/apps/electron/src/main/updater/electron-updater.ts
@@ -37,7 +37,7 @@ export const checkForUpdates = async (force = true) => {
export const registerUpdater = async () => {
// skip auto update in dev mode & internal
- if (buildType === 'internal') {
+ if (buildType === 'internal' || isDev) {
return;
}