Fix syntax error on xlua patching function
This commit is contained in:
parent
f4e668d8b0
commit
ccb2d876fc
2
setup.py
2
setup.py
@ -9,7 +9,7 @@ README = (HERE / "README.md").read_text()
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='worthless',
|
name='worthless',
|
||||||
version='1.2.5',
|
version='1.2.6',
|
||||||
packages=['worthless', 'worthless.classes', 'worthless.classes.launcher', 'worthless.classes.installer'],
|
packages=['worthless', 'worthless.classes', 'worthless.classes.launcher', 'worthless.classes.installer'],
|
||||||
url='https://git.froggi.es/tretrauit/worthless-launcher',
|
url='https://git.froggi.es/tretrauit/worthless-launcher',
|
||||||
license='MIT License',
|
license='MIT License',
|
||||||
|
@ -115,7 +115,7 @@ class Patcher:
|
|||||||
gamever = "".join(self._installer.get_game_version().split("."))
|
gamever = "".join(self._installer.get_game_version().split("."))
|
||||||
data_name = self._installer.get_game_data_name()
|
data_name = self._installer.get_game_data_name()
|
||||||
xlua_path = self._gamedir.joinpath("{}/Plugins/xlua.dll".format(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",
|
await asyncio.create_subprocess_exec("xdelta3", "-d", "-s",
|
||||||
str(self._gamedir.joinpath("{}/Plugins/xlua.dll.bak".format(data_name))),
|
str(self._gamedir.joinpath("{}/Plugins/xlua.dll.bak".format(data_name))),
|
||||||
str(self._patch_path.joinpath("{}/patch_files/{}".format(gamever, patch))),
|
str(self._patch_path.joinpath("{}/patch_files/{}".format(gamever, patch))),
|
||||||
|
Loading…
Reference in New Issue
Block a user