Magisk Version now double, also support custom version names

This commit is contained in:
topjohnwu
2016-11-09 01:28:05 +08:00
parent aababe1a87
commit e76dba0f84
2 changed files with 12 additions and 7 deletions

View File

@@ -107,7 +107,7 @@ public class Async {
JSONObject magisk = json.getJSONObject("magisk");
JSONObject app = json.getJSONObject("app");
MagiskFragment.remoteMagiskVersion = magisk.getInt("versionCode");
MagiskFragment.remoteMagiskVersion = magisk.getDouble("versionCode");
MagiskFragment.magiskLink = magisk.getString("link");
MagiskFragment.magiskChangelog = magisk.getString("changelog");