diff --git a/setup.py b/setup.py index 438d45f..5e0b0cb 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ README = (HERE / "README.md").read_text() setup( name='worthless', - version='1.2.5', + version='1.2.6', packages=['worthless', 'worthless.classes', 'worthless.classes.launcher', 'worthless.classes.installer'], url='https://git.froggi.es/tretrauit/worthless-launcher', license='MIT License', diff --git a/worthless/patcher.py b/worthless/patcher.py index fcca697..e750113 100644 --- a/worthless/patcher.py +++ b/worthless/patcher.py @@ -115,7 +115,7 @@ class Patcher: gamever = "".join(self._installer.get_game_version().split(".")) data_name = self._installer.get_game_data_name() xlua_path = self._gamedir.joinpath("{}/Plugins/xlua.dll".format(data_name)) - xlua_path.rename(self._gamedir.joinpath("{}/Plugins/xlua.dll.bak").format(data_name)) + xlua_path.rename(self._gamedir.joinpath("{}/Plugins/xlua.dll.bak".format(data_name))) await asyncio.create_subprocess_exec("xdelta3", "-d", "-s", str(self._gamedir.joinpath("{}/Plugins/xlua.dll.bak".format(data_name))), str(self._patch_path.joinpath("{}/patch_files/{}".format(gamever, patch))),