diff --git a/setup.py b/setup.py index e90a90b..ca93503 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ README = (HERE / "README.md").read_text() setup( name='worthless', - version='2.2.14', + version='2.2.15', 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/__init__.py b/worthless/__init__.py index 11d9584..46ddabc 100644 --- a/worthless/__init__.py +++ b/worthless/__init__.py @@ -4,4 +4,4 @@ Launcher = launcher.Launcher Installer = installer.Installer -__version__ = "2.2.14" +__version__ = "2.2.15" diff --git a/worthless/cli.py b/worthless/cli.py index 1d8d5de..9312e37 100755 --- a/worthless/cli.py +++ b/worthless/cli.py @@ -156,7 +156,7 @@ class UI: if not self._installer.voiceover_lang_translate(lng) == vo.language: continue print("Downloading voiceover update pack for {} (This will take a long time)...".format(lng)) - await self._installer.download_voiceover_update(lng, pre_download=self._pre_download) + await self._installer.download_voiceover_update(lng, from_version=self._vo_version, pre_download=self._pre_download) async def install_game(self, forced: bool = False): res_info = await self._launcher.get_resource_info() @@ -339,7 +339,7 @@ async def main(): ui.override_game_version(args.from_ver) if args.from_vo_ver: - ui.override_voiceover_version(args.from_ver) + ui.override_voiceover_version(args.from_vo_ver) if args.get_game_version: await ui.get_game_version() diff --git a/worthless/installer.py b/worthless/installer.py index db79af4..23dff64 100644 --- a/worthless/installer.py +++ b/worthless/installer.py @@ -534,7 +534,7 @@ class Installer: game = await self._get_game(pre_download=pre_download) translated_lang = self.voiceover_lang_translate(lang) for v in game.diffs: - if v.version != from_version: + if v.version.strip() != from_version.strip(): continue for vo in v.voice_packs: if vo.language == translated_lang: