Add 6.0 patch from @pmagixc

Bump version
This commit is contained in:
NotThorny
2025-10-15 21:36:14 -06:00
parent a40080cca2
commit ecb7936a8f
8 changed files with 14 additions and 8 deletions

View File

@@ -155,7 +155,12 @@ pub async fn patch_game(_newer_game: bool, version: String) -> bool {
// For 5.0 and up use universal
if i_ver > 49 {
patch_path = PathBuf::from(system_helpers::install_location()).join("patch/5version.dll");
if i_ver < 59 {
patch_path = PathBuf::from(system_helpers::install_location()).join("patch/5version.dll");
} else {
// 6.0 patch not checked/tested if works for old vers, so separate
patch_path = PathBuf::from(system_helpers::install_location()).join("patch/6version.dll");
}
let replaced50 = file_helpers::copy_file_with_new_name(
patch_path.clone().to_str().unwrap().to_string(),
get_game_rsa_path().await.unwrap(),