1
0
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:
2025-08-27 12:50:11 +02:00
parent 3a1ee01e7e
commit 684689e70a

View File

@@ -147,10 +147,12 @@ extension MainMenu {
// Check if the linked version has changed between launches of phpmon
await PhpGuard().compareToLastGlobalVersion()
// Check if Valet has updates
// Check if Valet has updates, but only if the driver display is enabled
if Preferences.isEnabled(.displayDriver) {
await Valet.shared.checkForUpdates()
}
}
}
/**
When the environment is not OK, present an alert to inform the user.