mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
Fix typo
This commit is contained in:
parent
a9c89cbbbb
commit
8abcccc262
@ -79,9 +79,9 @@ pub fn read_certificate(fd: RawFd, version: i32) -> Vec<u8> {
|
|||||||
comment.foreach_props(|k, v| {
|
comment.foreach_props(|k, v| {
|
||||||
if k == "versionCode" {
|
if k == "versionCode" {
|
||||||
apk_ver = v.trim().parse::<i32>().unwrap_or(0);
|
apk_ver = v.trim().parse::<i32>().unwrap_or(0);
|
||||||
true
|
|
||||||
} else {
|
|
||||||
false
|
false
|
||||||
|
} else {
|
||||||
|
true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if version > apk_ver {
|
if version > apk_ver {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user