Files
tbd-station-14/RUN_THIS.py
Nikolai Korolev 7ed94f8824 Fix RUN_THIS.py so it would be cross-platform and it would be possible to use it from cmd on Windows (#26017)
Fix RUN_THIS.py so it would be possible to use it from cmd on Windows
2024-03-12 01:02:41 +01:00

14 lines
424 B
Python
Executable File

#!/usr/bin/env python3
# Import future so people on py2 still get the clear error that they need to upgrade.
from __future__ import print_function
import sys
import subprocess
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)
subprocess.run([sys.executable, "git_helper.py"], cwd="BuildChecker")