mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-08 04:20:07 +02:00
🐛 Fix issue w/ flag evaluation order (#165)
This commit is contained in:
@ -1324,7 +1324,7 @@
|
|||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 760;
|
CURRENT_PROJECT_VERSION = 761;
|
||||||
DEBUG = YES;
|
DEBUG = YES;
|
||||||
DEVELOPMENT_TEAM = 8M54J5J787;
|
DEVELOPMENT_TEAM = 8M54J5J787;
|
||||||
ENABLE_HARDENED_RUNTIME = YES;
|
ENABLE_HARDENED_RUNTIME = YES;
|
||||||
@ -1350,7 +1350,7 @@
|
|||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 760;
|
CURRENT_PROJECT_VERSION = 761;
|
||||||
DEBUG = NO;
|
DEBUG = NO;
|
||||||
DEVELOPMENT_TEAM = 8M54J5J787;
|
DEVELOPMENT_TEAM = 8M54J5J787;
|
||||||
ENABLE_HARDENED_RUNTIME = YES;
|
ENABLE_HARDENED_RUNTIME = YES;
|
||||||
|
@ -29,8 +29,18 @@ extension MainMenu {
|
|||||||
When the environment is all clear and the app can run, let's go.
|
When the environment is all clear and the app can run, let's go.
|
||||||
*/
|
*/
|
||||||
private func onEnvironmentPass() {
|
private func onEnvironmentPass() {
|
||||||
|
// Attempt to find out more info about Valet
|
||||||
|
if Valet.shared.version != nil {
|
||||||
|
Log.info("PHP Monitor has extracted the version number of Valet: \(Valet.shared.version!)")
|
||||||
|
}
|
||||||
|
|
||||||
|
// Validate the version (this will enforce which versions of PHP are supported)
|
||||||
|
Valet.shared.validateVersion()
|
||||||
|
|
||||||
|
// Actually detect the PHP versions
|
||||||
PhpEnv.detectPhpVersions()
|
PhpEnv.detectPhpVersions()
|
||||||
|
|
||||||
|
// Check for an alias conflict
|
||||||
if HomebrewDiagnostics.hasAliasConflict() {
|
if HomebrewDiagnostics.hasAliasConflict() {
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
BetterAlert()
|
BetterAlert()
|
||||||
@ -71,12 +81,7 @@ extension MainMenu {
|
|||||||
// Load the global hotkey
|
// Load the global hotkey
|
||||||
App.shared.loadGlobalHotkey()
|
App.shared.loadGlobalHotkey()
|
||||||
|
|
||||||
// Attempt to find out more info about Valet
|
// Preload sites
|
||||||
if Valet.shared.version != nil {
|
|
||||||
Log.info("PHP Monitor has extracted the version number of Valet: \(Valet.shared.version!)")
|
|
||||||
}
|
|
||||||
|
|
||||||
Valet.shared.validateVersion()
|
|
||||||
Valet.shared.startPreloadingSites()
|
Valet.shared.startPreloadingSites()
|
||||||
|
|
||||||
if (Valet.shared.config.tld != "test") {
|
if (Valet.shared.config.tld != "test") {
|
||||||
|
Reference in New Issue
Block a user