1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-11-07 05:10:06 +01:00

Added new target, did some testing

This commit is contained in:
2023-03-24 00:21:45 +01:00
parent 7cf8d4697f
commit 0e3c9a5a68
4 changed files with 20 additions and 7 deletions

View File

@@ -13,10 +13,10 @@
</head>
<body>
<br>
<p><b>Do you enjoy using the app?</b> Leave a <a href="https://phpmon.app/github">star on GitHub</a>!</p>
<p><b>Do you enjoy using the app? Is it helping you save time?</b> Leave a <a href="https://phpmon.app/github">star on GitHub</a>!</p>
<p><b>Having issues?</b> Consult the <a href="https://phpmon.app/faq">FAQ</a> section, I did my best to ensure everything is documented.</p>
<p><b>Want to support further development of PHP Monitor?</b> You can <a href="https://phpmon.app/sponsor">financially support</a> the continued development of this app.</p>
<p><b>Get the latest on Mastodon.</b> Give me a <a href="https://phpc.social/@nicoverbruggen">follow on Mastodon</a> to learn about what's brewing and when new updates drop.</p>
<p><b>Get the latest on Twitter or Mastodon.</b> Give me a <a href="https://twitter.com/nicoverbruggen">follow on Twitter</a> or <a href="https://phpc.social/@nicoverbruggen">Mastodon</a> to learn about what's brewing and when new updates drop.</p>
<br>
</body>
</html>

View File

@@ -120,11 +120,18 @@ extension MainMenu {
preference: .notifyAboutVersionChange
)
guard let install = PhpEnv.phpInstall else {
guard PhpEnv.phpInstall != nil else {
Log.err("Cannot notify about version change if PHP is unlinked")
return
}
Task { await Valet.shared.notifyAboutBrokenPhpFpm() }
guard Valet.installed == true else {
Log.info("Skipping check for broken PHP-FPM version, Valet is not installed")
return
}
Task {
await Valet.shared.notifyAboutBrokenPhpFpm()
}
}
}