From 0efc00419ec7965acf24692aeaa4c1c8974442d2 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Wed, 5 Apr 2017 15:08:09 +0700 Subject: [PATCH 1/2] OS: Added support for MinGW --- neofetch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neofetch b/neofetch index 7e9b492d..dd442009 100755 --- a/neofetch +++ b/neofetch @@ -38,7 +38,7 @@ get_os() { "Linux" | "GNU"*) os="Linux" ;; "Darwin") os="$(sw_vers -productName)" ;; *"BSD" | "DragonFly" | "Bitrig") os="BSD" ;; - "CYGWIN"* | "MSYS"*) os="Windows" ;; + "CYGWIN"* | "MSYS"* | "MINGW"*) os="Windows" ;; "SunOS") os="Solaris" ;; "Haiku") os="Haiku" ;; "MINIX") os="MINIX" ;; @@ -1967,7 +1967,7 @@ get_install_date() { "Windows") case "$kernel_name" in "CYGWIN"*) install_file="/cygdrive/c/Windows/explorer.exe" ;; - "MSYS"*) install_file="/c/Windows/explorer.exe" ;; + "MSYS"* | "MINGW"*) install_file="/c/Windows/explorer.exe" ;; esac ;; "Haiku") install_file="/boot" ;; @@ -2222,7 +2222,7 @@ get_wallpaper() { "Windows XP") case "$kernel_name" in "CYGWIN"*) image="/cygdrive/c/Documents and Settings/${USER}" ;; - "MSYS2"*) image="/c/Documents and Settings/${USER}" ;; + "MSYS2"* | "MINGW*") image="/c/Documents and Settings/${USER}" ;; esac image+="/Local Settings/Application Data/Microsoft" image+="/Wallpaper1.bmp" From 0e50e7d3baca0caa8628f0c1b8f28945032c7295 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Wed, 5 Apr 2017 23:21:53 +0700 Subject: [PATCH 2/2] Docs: Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3528c087..b62f8495 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - Added support for SliTaz. **[@nilesr](https://github.com/nilesr)** - Added support for Nitrux. **[@mstraube](https://github.com/mstraube)** - Added support for DesaOS. +- Added support for MinGW. ## Screenshot