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);
|
||||
}
|
||||
|
||||
// Don't check for updates in Docker
|
||||
if (version.isDocker) {
|
||||
// Don't check for updates in Docker or development builds
|
||||
if (version.isDocker || version.isDevelopment) {
|
||||
setUpdateAvailable(false);
|
||||
setUpdateInfo(null);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue