Skip to content

Commit bfe15fb

Browse files
author
Joe Denhup
committed
put back OS check
1 parent d44db1d commit bfe15fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ def finalize_options(self):
5454
install.finalize_options(self)
5555

5656
def run(self):
57+
if os.name != "nt" :
58+
print("AutoItLibrary cannot be installed on non-Windows platforms.")
59+
sys.exit(2)
5760
RegisterAutoIT()
5861
install.run(self)
5962

0 commit comments

Comments
 (0)