Read version from game file (thanks to An Anime Game Launcher project)
Basically I copied their method of doing that and their regex pattern.
This commit is contained in:
@ -18,7 +18,7 @@ class Patcher:
|
||||
self._temp_path = Path(self._appdirs.user_cache_dir)
|
||||
else:
|
||||
if not isinstance(data_dir, Path):
|
||||
override_data_dir = Path(data_dir)
|
||||
data_dir = Path(data_dir)
|
||||
self._patch_path = data_dir.joinpath("Patch")
|
||||
self._temp_path = data_dir.joinpath("Temp")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user