manager: fix legacy get version

Co-authored-by: weishu <twsxtd@gmail.com>
Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
This commit is contained in:
ShirkNeko
2025-11-03 12:09:00 +08:00
parent ab8e966b7f
commit 696c3059b6
4 changed files with 63 additions and 53 deletions

View File

@@ -13,7 +13,7 @@ NativeBridgeNP(getVersion, jint) {
return (jint)version;
}
// try legacy method as fallback
return legacy_get_version();
return legacy_get_info().version;
}
// get VERSION FULL