mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-11-08 05:30:05 +01:00
🐛 Remove which valet check
This commit is contained in:
@@ -39,8 +39,7 @@ class Startup {
|
||||
|
||||
self.performEnvironmentCheck(
|
||||
// Older versions of Valet might be located in `/usr/local/bin` regardless of Homebrew prefix
|
||||
!(Shell.pipe("which valet").contains("/usr/local/bin/valet")
|
||||
|| Shell.pipe("which valet").contains("/opt/homebrew/bin/valet")),
|
||||
!(Shell.fileExists("/usr/local/bin/valet") || Shell.fileExists("/opt/homebrew/bin/valet")),
|
||||
messageText: "startup.errors.valet_executable.title".localized,
|
||||
informativeText: "startup.errors.valet_executable.desc".localized,
|
||||
breaking: true
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
|
||||
/// 3. Valet not installed
|
||||
"startup.errors.valet_executable.title" = "Laravel Valet is not correctly installed";
|
||||
"startup.errors.valet_executable.desc" = "You must install Valet with composer. Try running `which valet` in Terminal, it should return `/usr/local/bin/valet` or `/opt/homebrew/bin/valet`. The app will not work correctly until you resolve this issue.";
|
||||
"startup.errors.valet_executable.desc" = "You must install Valet with composer. Try running `which valet` in Terminal, it should return `/usr/local/bin/valet` or `/opt/homebrew/bin/valet`. The app will not work correctly until you resolve this issue. (PHP Monitor checks for the existence of `valet` in either of these paths.)";
|
||||
|
||||
/// 4. Brew & sudoers
|
||||
"startup.errors.sudoers_brew.title" = "Brew has not been added to sudoers.d";
|
||||
|
||||
Reference in New Issue
Block a user