Skip to content

Commit

Permalink
- Changed format of updater config
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Rekun committed Jul 26, 2018
1 parent 6c1b200 commit f6c9cea
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/"

Expand Down
12 changes: 0 additions & 12 deletions updater/update.json

This file was deleted.

14 changes: 14 additions & 0 deletions updater/update.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<AppUpdater>
<update>
<latestVersion>2.0</latestVersion>
<latestVersionCode>20</latestVersionCode>
<url>https://github.com/MenosGrante/Rekado/releases</url>
<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
</releaseNotes>
</update>
</AppUpdater>

0 comments on commit f6c9cea

Please sign in to comment.