Read the versioncode from the repo properly
This commit is contained in:
parent
cbdb8078b7
commit
379cfe1264
@ -61,7 +61,7 @@ public class RepoXMLHandler extends DefaultHandler {
|
|||||||
if (curapk != null && curel != null) {
|
if (curapk != null && curel != null) {
|
||||||
if (curel == "version")
|
if (curel == "version")
|
||||||
curapk.version = str;
|
curapk.version = str;
|
||||||
if (curel == "vercode") {
|
if (curel == "versioncode") {
|
||||||
try {
|
try {
|
||||||
curapk.vercode = Integer.parseInt(str);
|
curapk.vercode = Integer.parseInt(str);
|
||||||
} catch (NumberFormatException ex) {
|
} catch (NumberFormatException ex) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user