mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
fix: disable auto updater on dev (#4019)
This commit is contained in:
@@ -37,7 +37,7 @@ export const checkForUpdates = async (force = true) => {
|
|||||||
|
|
||||||
export const registerUpdater = async () => {
|
export const registerUpdater = async () => {
|
||||||
// skip auto update in dev mode & internal
|
// skip auto update in dev mode & internal
|
||||||
if (buildType === 'internal') {
|
if (buildType === 'internal' || isDev) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user