<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Python>python3</Python>
+ <Python Condition="'$(OS)'=='Windows_NT' Or '$(OS)'=='Windows'">py -3</Python>
<ProjectGuid>{C899FCA4-7037-4E49-ABC2-44DE72487110}</ProjectGuid>
<TargetFramework>net4.7.2</TargetFramework>
<RestorePackages>false</RestorePackages>
SOLUTION_PATH = Path("..") / "SpaceStation14.sln"
# If this doesn't match the saved version we overwrite them all.
-CURRENT_HOOKS_VERSION = "3"
+CURRENT_HOOKS_VERSION = "2"
QUIET = len(sys.argv) == 2 and sys.argv[1] == "--quiet"
cd "$gitroot/BuildChecker"
-python3 git_helper.py --quiet
+if [[ `uname` == MINGW* || `uname` == CYGWIN* ]]; then
+ # Windows
+ py -3 git_helper.py --quiet
+else
+ # Not Windows, so probably some other Unix thing.
+ python3 git_helper.py --quiet
+fi