Skip to content

Commit

Permalink
Added matching fix for WSL detection in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fquinner committed Dec 14, 2020
1 parent ee54d2b commit e154c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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",
Expand Down

0 comments on commit e154c09

Please sign in to comment.