fix: disable auto updater on dev (#4019)

This commit is contained in:
Peng Xiao authored and GitHub committed 2023-08-29 14:04:27 -05:00
1 parent 02026e0bb6
commit 849e225a2d
1 file changed
+1 -1
@@ -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;
}