From 2b1161c8a6f791b2f46605d28fc583122ce8e3b1 Mon Sep 17 00:00:00 2001 From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Thu, 24 Apr 2025 23:44:28 +0200 Subject: [PATCH] Revert "Added warning when attempting to run RUN_THIS on a zip repo download" (#36899) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Revert "Added warning when attempting to run RUN_THIS on a zip repo download …" This reverts commit d4c3ff3de471807eec986ad928f3b628f0afe933. --- BuildChecker/git_helper.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/BuildChecker/git_helper.py b/BuildChecker/git_helper.py index 01e1bfd05f..becd4506e8 100644 --- a/BuildChecker/git_helper.py +++ b/BuildChecker/git_helper.py @@ -5,7 +5,6 @@ import subprocess import sys import os import shutil -import time from pathlib import Path from typing import List @@ -105,20 +104,7 @@ def reset_solution(): with SOLUTION_PATH.open("w") as f: f.write(content) -def check_for_zip_download(): - # Check if .git exists, - if not os.path.isdir(".git"): - print("It appears that you downloaded this repository directly from GitHub. (Using the .zip download option) \n" - "When downloading straight from GitHub, it leaves out important information that git needs to function. " - "Such as being able to download the engine or even being able to create contributions. \n" - "Please read and follow https://docs.spacestation14.com/en/general-development/setup/setting-up-a-development-environment.html \n" - "If you just want a Sandbox Server, you are following the wrong guide! You can download a premade server following the instructions here:" - "https://docs.spacestation14.com/en/general-development/setup/server-hosting-tutorial.html \n" - "Closing automatically in 30 seconds.") - time.sleep(30) - exit(1) if __name__ == '__main__': - check_for_zip_download() install_hooks() update_submodules() -- 2.51.2