Open LelouBil opened 3 years ago
We should also check the hash of the Among Us binaries (exe and GameAssembly.dll), because as we have seen sometimes the version number is not incremented.
Version number gets printed starting with version 1.0.0.10, but no additional checks are performed.
Check from inside the mod is not really possible, so this would be a job for the installer. We would have to find a way to read the game version without actually launching the game.
Use Application_get_version to get the current version of the game and compare the the dll supported one.
Maybe also do a api call to github to check the latest supported version and prompt the user to update.