Skip to content

Commit

Permalink
Cherry-picked commit 7ed94f8 from space-wizards/space-station-14/master
Browse files Browse the repository at this point in the history
  • Loading branch information
CrafterKolyan authored and SimpleStation14 committed Apr 21, 2024
1 parent 3bf08c7 commit 7896b60
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions RUN_THIS.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@
import sys
import subprocess

IS_WINDOWS = sys.platform in ("win32", "cygwin")

version = sys.version_info
if version.major < 3 or (version.major == 3 and version.minor < 5):
print("ERROR: You need at least Python 3.5 to build SS14.")
sys.exit(1)

if IS_WINDOWS:
subprocess.run(["py", "-3", "git_helper.py"], cwd="BuildChecker")
else:
subprocess.run(["python3", "git_helper.py"], cwd="BuildChecker")
subprocess.run([sys.executable, "git_helper.py"], cwd="BuildChecker")

0 comments on commit 7896b60

Please sign in to comment.