fix: disable auto updater on dev (#4019)

This commit is contained in:
Peng Xiao
2023-08-30 03:04:27 +08:00
committed by GitHub
parent 02026e0bb6
commit 849e225a2d

View File

@@ -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;
}