From e154c096d61ccde355e7b2b8821034ad6050e914 Mon Sep 17 00:00:00 2001 From: Frank Quinn Date: Mon, 14 Dec 2020 10:28:20 +0000 Subject: [PATCH] Added matching fix for WSL detection in setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e5bd333..8f714c4 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ )) exit(1) -if uname().system != "Linux" or "microsoft" not in uname().release: +if uname().system.upper() != "LINUX" or "MICROSOFT" not in uname().release.upper(): sys.stderr.write("WSL Linux environment required (detected: %s [%s])" % ( uname().system, uname().release @@ -21,7 +21,7 @@ setuptools.setup( name="wsl-windows-toolbar", - version="0.6.2", + version="0.6.3", author="Frank Quinn", author_email="fquinn@cascadium.io", description="Adds linux GUI application menu to a windows toolbar",