diff --git a/build_patch/patch.diff b/build_patch/patch.diff deleted file mode 100644 index c18a321..0000000 --- a/build_patch/patch.diff +++ /dev/null @@ -1,29 +0,0 @@ -233a234 -> import os # @UnresolvedImport -236a238,263 -> -> # MODS STUFF -> APP_ID = 1895350 -> -> if not renpy.android: -> try: # Android will try to run this for some reason and fail -> mod_paths = [ -> f"../../workshop/content/{APP_ID}/", -> f"/Users/{os.getlogin()}/Library/Application Support/Steam/steamapps/workshop/content/{APP_ID}/", -> os.path.expanduser(f"~/Library/Application Support/Steam/steamapps/workshop/content/{APP_ID}/") -> ] -> except: -> mod_paths = [] -> -> new_paths = [] -> for path in mod_paths: -> try: -> if os.path.exists(path): -> for name in os.listdir(path): -> full_path = os.path.join(path, name) -> if os.path.isdir(full_path): -> new_paths.append(full_path) -> except Exception as e: -> renpy.display.log.write(f"Error while adding mod search paths: {e}") -> -> searchpath += new_paths diff --git a/build_patch/patch.py b/build_patch/patch.py deleted file mode 100644 index 6015aa5..0000000 --- a/build_patch/patch.py +++ /dev/null @@ -1,19 +0,0 @@ -class PatchTask: - def __init__(self, config, input_dir, output_dir): - self.config = config - self.input_dir = input_dir - self.output_dir = output_dir - - def pre_build(self): - import subprocess - print("================Initiating patching==================") - - try: - subprocess.run(["patch", f"/tmp/cache/{self.config['ver']}/renpy.py", "./build_patch/patch.diff"]) - except Exception as e: - print(e) - raise e - print("================File Patched==================") - - def post_build(self): - pass diff --git a/renconstruct.toml b/renconstruct.toml index c2ff8ab..68d84d6 100644 --- a/renconstruct.toml +++ b/renconstruct.toml @@ -25,7 +25,6 @@ [options] clear_output_dir = false # whether to clear the output directory on startup - task_dir = "./build_patch/" [renutil] version = "8.3.0" # the Ren'Py version to use (required)