Downgrading to Unreal 5.5.4
This commit is contained in:
5
build.py
5
build.py
@@ -221,7 +221,10 @@ def unzip_unreal_engine_and_apply_patch():
|
||||
print(f"Unzipping {zipfn}...")
|
||||
with JZipFile(zipfn) as zf:
|
||||
zf.extractall(INTEGRATION)
|
||||
patchfile = f"{INTEGRATION}/EnginePatches/EnginePatch"
|
||||
version = zips[0].stem.split("-")[1]
|
||||
patchfile = f"{INTEGRATION}/EnginePatches/EnginePatch-{version}"
|
||||
if not Path(patchfile).is_file():
|
||||
sys.exit(f"Cannot find engine patch: {patchfile}")
|
||||
shell(extracted, f"patch -p0 < {patchfile}")
|
||||
Path(extracted).rename(UNREALENGINE)
|
||||
Path(touchfile).touch()
|
||||
|
||||
Reference in New Issue
Block a user