From c8d918147a0d50f9e338fd7230f113032646e801 Mon Sep 17 00:00:00 2001 From: drojf <1249449+drojf@users.noreply.github.com> Date: Fri, 26 Jul 2024 23:47:39 +1000 Subject: [PATCH] Migrate download links to Github --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 0c98114..89988f7 100644 --- a/build.py +++ b/build.py @@ -378,7 +378,7 @@ call([sys.executable, "-m", "pip", "install", "-r", "requirements.txt"]) # Download and extract the vanilla assets assets_path = "assets" vanilla_archive = "vanilla.7z" -assets_url = "http://07th-mod.com/archive/vanilla.7z" +assets_url = f"https://github.com/07th-mod/patch-releases/releases/download/developer-v1.0/{vanilla_archive}" vanilla_folder_path = os.path.join(assets_path, "vanilla") vanilla_fully_extracted = os.path.exists(vanilla_folder_path) and not os.path.exists(vanilla_archive) if lastModifiedManager.isRemoteModifiedAndUpdateMemory(assets_url) or force_download or not vanilla_fully_extracted: @@ -399,7 +399,7 @@ else: # Download and extract UABE uabe_folder = "64bit" uabe_archive = "AssetsBundleExtractor_2.2stabled_64bit_with_VC2010.zip" -uabe_url = f"http://07th-mod.com/archive/{uabe_archive}" +uabe_url = f"https://github.com/07th-mod/patch-releases/releases/download/developer-v1.0/{uabe_archive}" uabe_fully_extracted = os.path.exists(uabe_folder) and not os.path.exists(uabe_archive) if lastModifiedManager.isRemoteModifiedAndUpdateMemory(uabe_url) or force_download or not uabe_fully_extracted: print("Downloading and Extracting UABE")