Fix syntax error, bump to 1.2.1
This commit is contained in:
parent
f1beaacd3b
commit
4359a43771
@ -1,6 +1,5 @@
|
||||
aiohttp==3.8.1
|
||||
appdirs~=1.4.4
|
||||
aiopath~=0.6.10
|
||||
worthless~=1.1.1
|
||||
setuptools~=59.3.0
|
||||
xdelta3~=0.0.5
|
2
setup.py
2
setup.py
@ -9,7 +9,7 @@ README = (HERE / "README.md").read_text()
|
||||
|
||||
setup(
|
||||
name='worthless',
|
||||
version='1.2.0',
|
||||
version='1.2.1',
|
||||
packages=['worthless', 'worthless.classes', 'worthless.classes.launcher', 'worthless.classes.installer'],
|
||||
url='https://git.froggi.es/tretrauit/worthless-launcher',
|
||||
license='MIT License',
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user