diff --git a/app/src/main/java/com/topjohnwu/magisk/core/Const.kt b/app/src/main/java/com/topjohnwu/magisk/core/Const.kt index 32965bfb2..5ddb8c148 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/Const.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/Const.kt @@ -20,7 +20,7 @@ object Const { // Versions const val SNET_EXT_VER = 17 - const val SNET_REVISION = "22.0" + const val SNET_REVISION = "23.0" const val BOOTCTL_REVISION = "22.0" // Misc diff --git a/app/src/main/java/com/topjohnwu/magisk/data/repository/NetworkService.kt b/app/src/main/java/com/topjohnwu/magisk/data/repository/NetworkService.kt index 45c57cdbc..ac63765dd 100644 --- a/app/src/main/java/com/topjohnwu/magisk/data/repository/NetworkService.kt +++ b/app/src/main/java/com/topjohnwu/magisk/data/repository/NetworkService.kt @@ -65,7 +65,7 @@ class NetworkService( } // Fetch files - // suspend fun fetchSafetynet() = wrap { jsd.fetchSafetynet() } + suspend fun fetchSafetynet() = wrap { jsd.fetchSafetynet() } suspend fun fetchBootctl() = wrap { jsd.fetchBootctl() } suspend fun fetchInstaller() = wrap { val sha = fetchMainVersion() @@ -75,7 +75,4 @@ class NetworkService( suspend fun fetchString(url: String) = wrap { raw.fetchString(url) } private suspend fun fetchMainVersion() = api.fetchBranch(MAGISK_MAIN, "master").commit.sha - - // Temporary for canary builds, switch to release link at next public release - suspend fun fetchSafetynet() = fetchFile("https://github.com/topjohnwu/Magisk/releases/download/v22.1/snet.jar") }