mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-18 17:26:15 +00:00
fix: hide update banner for dev builds
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user