Fix syntax error, bump to 1.2.1
This commit is contained in:
@ -112,7 +112,7 @@ class Patcher:
|
||||
patch_bytes = self._patch_path.joinpath("{}/patch_files/{}".format(gamever, patch)).read_bytes()
|
||||
patched_xlua_bytes = xdelta3.decode(xlua_path.read_bytes(), patch_bytes)
|
||||
xlua_path.rename(self._gamedir.joinpath("xlua.dll.bak"))
|
||||
with Path(self._gamedir.joinpath("{}/Plugins/xlua.dll".format(data_name)).open("wb") as f:
|
||||
with Path(self._gamedir.joinpath("{}/Plugins/xlua.dll".format(data_name))).open("wb") as f:
|
||||
f.write(patched_xlua_bytes)
|
||||
|
||||
def apply_xlua_patch(self):
|
||||
|
||||
Reference in New Issue
Block a user