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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user