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