mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-11-05 04:20:06 +01:00
✨ Skip update check if driver display is disabled
This commit is contained in:
@@ -147,8 +147,10 @@ extension MainMenu {
|
||||
// Check if the linked version has changed between launches of phpmon
|
||||
await PhpGuard().compareToLastGlobalVersion()
|
||||
|
||||
// Check if Valet has updates
|
||||
await Valet.shared.checkForUpdates()
|
||||
// Check if Valet has updates, but only if the driver display is enabled
|
||||
if Preferences.isEnabled(.displayDriver) {
|
||||
await Valet.shared.checkForUpdates()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user