From 108bb9cff94e01d19b939e7374d020fffb132eac Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Tue, 5 Jun 2018 07:40:29 +1000 Subject: [PATCH 1/2] os: add macOS codename for Mojave --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index fa9466ff..9955d89a 100755 --- a/neofetch +++ b/neofetch @@ -940,6 +940,7 @@ get_distro() { "10.11"*) codename="OS X El Capitan" ;; "10.12"*) codename="macOS Sierra" ;; "10.13"*) codename="macOS High Sierra" ;; + "10.14"*) codename="macOS Mojave" ;; *) codename="macOS" ;; esac distro="$codename $osx_version $osx_build" @@ -950,7 +951,7 @@ get_distro() { case "$osx_version" in "10."[4-7]*) distro="${distro/${codename}/Mac OS X}" ;; "10."[8-9]* | "10.1"[0-1]*) distro="${distro/${codename}/OS X}" ;; - "10.1"[2-3]*) distro="${distro/${codename}/macOS}" ;; + "10.1"[2-4]*) distro="${distro/${codename}/macOS}" ;; esac distro="${distro/ ${osx_build}}" ;; From 6e41a62193aeed75fac8980f88a82cf4d767bbc7 Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Tue, 5 Jun 2018 07:42:58 +1000 Subject: [PATCH 2/2] docs: update [skip ci] --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e60d1a3..7aa20380 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Added support for Kibojoe Linux. - Added support for SharkLinux. - Added support for Linux Lite. +- Added support for macOS 10.14 Mojave. [**@iandrewt**](https://github.com/iandrewt) **General**