1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-08 04:20:07 +02:00

👌 Detect binary paths (#144)

This change introduces binary detection to the app. PHP Monitor does not
rely on the user's PATH because the output of a user's terminal can
cause issues, so we will scan the two common locations for the Composer
binary file. The text in the alert has been modified to accommodate the
change (you could still not have Composer installed).
This commit is contained in:
2022-02-26 18:24:02 +01:00
parent a34389c3a9
commit 3f80bfb641
4 changed files with 43 additions and 9 deletions

View File

@ -76,6 +76,8 @@ extension MainMenu {
Log.info("PHP Monitor has extracted the version number of Valet: \(Valet.shared.version!)")
}
Paths.shared.detectBinaryPaths()
Valet.shared.loadConfiguration()
Valet.shared.validateVersion()
Valet.shared.startPreloadingSites()