From e6933f067a21d42526cefc780668f8b5b90160d4 Mon Sep 17 00:00:00 2001 From: tretrauit Date: Thu, 29 Jun 2023 22:55:53 +0700 Subject: [PATCH] docs: add some docs --- vollerei/hsr/launcher/game.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vollerei/hsr/launcher/game.py b/vollerei/hsr/launcher/game.py index d90b71b..06ed21e 100644 --- a/vollerei/hsr/launcher/game.py +++ b/vollerei/hsr/launcher/game.py @@ -115,6 +115,9 @@ class Game(GameABC): Credits to An Anime Team for the code that does the magic: https://github.com/an-anime-team/anime-game-core/blob/main/src/games/star_rail/game.rs#L49 + If the above method fails, it'll fallback to read the config.ini file + for the version. (Doesn't work with AAGL-based launchers) + This returns (0, 0, 0) if the version could not be found (usually indicates the game is not installed)