mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 12:00:09 +02:00
🏗 Test build
This commit is contained in:
@ -134,7 +134,7 @@ class Startup {
|
||||
Paths.optPath
|
||||
),
|
||||
descriptionText: "startup.errors.php_opt.desc".localized
|
||||
),
|
||||
)
|
||||
]),
|
||||
EnvironmentCheckGroup(name: "valet", condition: { return Valet.shared.installed }, checks: [
|
||||
// =================================================================================
|
||||
@ -142,7 +142,8 @@ class Startup {
|
||||
// =================================================================================
|
||||
EnvironmentCheck(
|
||||
command: {
|
||||
return !(FileSystem.fileExists(Paths.valet) || FileSystem.fileExists("~/.composer/vendor/bin/valet"))
|
||||
return !(FileSystem.fileExists(Paths.valet)
|
||||
|| FileSystem.fileExists("~/.composer/vendor/bin/valet"))
|
||||
},
|
||||
name: "`valet` binary exists",
|
||||
titleText: "startup.errors.valet_executable.title".localized,
|
||||
|
@ -62,10 +62,8 @@ class Valet {
|
||||
}
|
||||
|
||||
lazy var installed: Bool = {
|
||||
return false
|
||||
|
||||
// TODO: Make this lazy
|
||||
// return FileSystem.fileExists(Paths.binPath.appending("/valet"))
|
||||
// TODO: Make this properly lazy
|
||||
return FileSystem.fileExists(Paths.binPath.appending("/valet"))
|
||||
}()
|
||||
|
||||
/**
|
||||
|
@ -122,7 +122,7 @@ extension MainMenu {
|
||||
Log.info("PHP Monitor is ready to serve!")
|
||||
|
||||
// Check if we upgraded just now
|
||||
self.checkIfUpgradeWasPerformed()
|
||||
// self.checkIfUpgradeWasPerformed()
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user