mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-04 19:58:26 +02:00
10 lines
No EOL
318 B
Python
10 lines
No EOL
318 B
Python
from . import *
|
|
|
|
|
|
def patch(path: str) -> None:
|
|
"""
|
|
Patch the main.dol file
|
|
:param path: path to the game
|
|
"""
|
|
subprocess.run(["./tools/szs/wstrt", "patch", path + "/sys/main.dol", "--clean-dol", "--add-lecode"],
|
|
creationflags=CREATE_NO_WINDOW, check=True, stdout=subprocess.PIPE) |