fix: hide update banner for dev builds
This commit is contained in:
parent
91fecacfef
commit
3efa9ff71b
1 changed files with 3 additions and 2 deletions
|
|
@ -99,9 +99,10 @@ const checkForUpdates = async (force = false): Promise<void> => {
|
||||||
saveState(state);
|
saveState(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't check for updates in Docker
|
// Don't check for updates in Docker or development builds
|
||||||
if (version.isDocker) {
|
if (version.isDocker || version.isDevelopment) {
|
||||||
setUpdateAvailable(false);
|
setUpdateAvailable(false);
|
||||||
|
setUpdateInfo(null);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue