Fix CHANGELOG_URL

This commit is contained in:
vvb2060 2021-01-25 03:44:19 +08:00 committed by topjohnwu
parent b8090a8e18
commit e8d4e492d6

View File

@ -62,7 +62,7 @@ object Const {
const val PATREON_URL = "https://www.patreon.com/topjohnwu"
const val SOURCE_CODE_URL = "https://github.com/topjohnwu/Magisk"
val CHANGELOG_URL = if (Version.isCanary()) Info.remote.magisk.note
val CHANGELOG_URL = if (BuildConfig.VERSION_CODE % 100 != 0) Info.remote.magisk.note
else "https://topjohnwu.github.io/Magisk/releases/${BuildConfig.VERSION_CODE}.md"
const val GITHUB_RAW_URL = "https://raw.githubusercontent.com/"