Added voiceover language info & archive type and install_game function
Available through Installer.get_voiceover_archive_type and Installer.get_voiceover_archive_language Also some other optimizations including not extracting unneeded files from diff archive, deprecate _read_version_from_config function, and added install_game, uninstall_game, voiceover_lang_translate, get_installed_voiceovers
This commit is contained in:
@ -127,8 +127,8 @@ class Patcher:
|
||||
]
|
||||
for file in revert_files:
|
||||
self._revert_file(file, game_exec, ignore_errors)
|
||||
self._gamedir.joinpath("launcher.bat").unlink(missing_ok=True)
|
||||
self._gamedir.joinpath("mhyprot2_running.reg").unlink(missing_ok=True)
|
||||
for file in ["launcher.bat", "mhyprot2_running.reg"]:
|
||||
self._gamedir.joinpath(file).unlink(missing_ok=True)
|
||||
|
||||
def get_files(extensions):
|
||||
all_files = []
|
||||
|
||||
Reference in New Issue
Block a user