diff --git a/app/src/main/java/com/pavelrekun/rekado/screens/main_activity/MainView.kt b/app/src/main/java/com/pavelrekun/rekado/screens/main_activity/MainView.kt index c52c18e..f2269ce 100644 --- a/app/src/main/java/com/pavelrekun/rekado/screens/main_activity/MainView.kt +++ b/app/src/main/java/com/pavelrekun/rekado/screens/main_activity/MainView.kt @@ -27,7 +27,7 @@ class MainView(private val activity: BaseActivity) : MainContract.View { private fun initUpdater(): AppUpdater { return AppUpdater(activity) .setDisplay(Display.DIALOG) - .setUpdateFrom(UpdateFrom.JSON) + .setUpdateFrom(UpdateFrom.XML) .setUpdateJSON(Constants.UPDATE_CONFIG_LINK) } diff --git a/app/src/main/java/com/pavelrekun/rekado/services/Constants.kt b/app/src/main/java/com/pavelrekun/rekado/services/Constants.kt index 1cca5cc..100c5c8 100644 --- a/app/src/main/java/com/pavelrekun/rekado/services/Constants.kt +++ b/app/src/main/java/com/pavelrekun/rekado/services/Constants.kt @@ -2,7 +2,7 @@ package com.pavelrekun.rekado.services object Constants { - const val UPDATE_CONFIG_LINK = "https://raw.githubusercontent.com/MenosGrante/Rekado/master/updater/update.json" + const val UPDATE_CONFIG_LINK = "https://raw.githubusercontent.com/MenosGrante/Rekado/master/updater/update.xml" const val HELP_RCM = "https://gbatemp.net/threads/the-ultimate-list-of-mods-to-enter-rcm.502145/" diff --git a/updater/update.json b/updater/update.json deleted file mode 100644 index e2f0caa..0000000 --- a/updater/update.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "latestVersion": "2.0", - "latestVersionCode": 20, - "url": "https://github.com/MenosGrante/Rekado/releases", - "releaseNotes": [ - "- Added Lakka loader", - "- Updated icon with support for Adaptive Icon", - "- Fixed bug that prevented from navigating the folder hierarchy when selecting payloads", - "- Fixed various bugs with "Auto-injector", - "- Fixed memory leak during "phone-switch" connection" - ] -} \ No newline at end of file diff --git a/updater/update.xml b/updater/update.xml new file mode 100644 index 0000000..93131fa --- /dev/null +++ b/updater/update.xml @@ -0,0 +1,14 @@ + + + 2.0 + 20 + https://github.com/MenosGrante/Rekado/releases + + - Added Lakka loader + - Updated icon with support for Adaptive Icon + - Fixed bug that prevented from navigating the folder hierarchy when selecting payloads + - Fixed various bugs with "Auto-injector + - Fixed memory leak during "phone-switch" connection + + + \ No newline at end of file