From c87c532d1ca0ecc7c52dd8d5c8ca2710c5d5ccc1 Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Mon, 14 Oct 2019 10:54:03 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20readme=20for=20Catalina?= =?UTF-8?q?=20compatibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PHP Monitor.xcodeproj/project.pbxproj | 2 ++ README.md | 18 ++++++++++++++---- phpmon/Classes/Commands/Actions.swift | 2 +- phpmon/Info.plist | 2 +- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/PHP Monitor.xcodeproj/project.pbxproj b/PHP Monitor.xcodeproj/project.pbxproj index 59c7c30..43876ce 100644 --- a/PHP Monitor.xcodeproj/project.pbxproj +++ b/PHP Monitor.xcodeproj/project.pbxproj @@ -364,6 +364,7 @@ CODE_SIGN_ENTITLEMENTS = phpmon/phpmon.entitlements; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 12; DEVELOPMENT_TEAM = 8M54J5J787; INFOPLIST_FILE = phpmon/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( @@ -383,6 +384,7 @@ CODE_SIGN_ENTITLEMENTS = phpmon/phpmon.entitlements; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 12; DEVELOPMENT_TEAM = 8M54J5J787; INFOPLIST_FILE = phpmon/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( diff --git a/README.md b/README.md index f854c6e..4d5407e 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,21 @@ PHP Monitor (or phpmon) is a macOS utility that runs on your Mac and displays th For me, it comes in handy when running multiple versions of PHP with Homebrew and you wish to be able to see at a glance which version is currently linked & active with Laravel Valet, and switch between versions. -This version of PHP Monitor was developed for: +## System requirements -* macOS Mojave (10.14) -* PHP 7.x with Homebrew 2.x (with support for PHP 5.6 and PHP 7.0 [as well](https://github.com/eXolnet/homebrew-deprecated)) -* Laravel Valet 2.2 +Minimal system requirements are: + +* macOS 10.14 or higher +* PHP 7.3 installed via Homebrew, other versions optional +* Laravel Valet 2.3 or higher installed + +## Recommended setup + +This means that this configuration is recommended and supported: + +* macOS 10.15 Catalina +* PHP 7.3.x installed with Homebrew 2; other versions of PHP are optional (with support for PHP 5.6 and PHP 7.0 [as well](https://github.com/eXolnet/homebrew-deprecated)) +* Laravel Valet 2.5.x ## Why I built this diff --git a/phpmon/Classes/Commands/Actions.swift b/phpmon/Classes/Commands/Actions.swift index 272bf17..bcc2a62 100644 --- a/phpmon/Classes/Commands/Actions.swift +++ b/phpmon/Classes/Commands/Actions.swift @@ -33,7 +33,7 @@ class Actions { if (availableVersions.contains("7.3")) { Shell.user.run("brew link php@7.3") if (version == Constants.LatestPhpVersion) { - Shell.user.run( "valet use php") + Shell.user.run("valet use php") } else { Shell.user.run("valet use php@\(version)") } diff --git a/phpmon/Info.plist b/phpmon/Info.plist index 8e9b05a..e505c2a 100644 --- a/phpmon/Info.plist +++ b/phpmon/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString 1.4 CFBundleVersion - 11 + $(CURRENT_PROJECT_VERSION) LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion