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 ff9f5e153..df40c9919 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/Const.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/Const.kt @@ -18,7 +18,6 @@ object Const { // Misc const val ANDROID_MANIFEST = "AndroidManifest.xml" const val MAGISK_INSTALL_LOG_FILENAME = "magisk_install_log_%s.log" - const val MANAGER_CONFIGS = ".tmp.magisk.config" val USER_ID = Process.myUid() / 100000 object Version { diff --git a/app/src/main/java/com/topjohnwu/magisk/core/download/BaseDownloader.kt b/app/src/main/java/com/topjohnwu/magisk/core/download/BaseDownloader.kt index 37d1f36b5..b0394b8ec 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/download/BaseDownloader.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/download/BaseDownloader.kt @@ -69,8 +69,8 @@ abstract class BaseDownloader : BaseService(), KoinComponent { // -- Download logic private suspend fun Subject.startDownload() { - val skipDl = this is Subject.Magisk && file.checkSum("MD5", magisk.md5) - if (!skipDl) { + val skip = this is Subject.Magisk && file.checkSum("MD5", magisk.md5) + if (!skip) { val stream = service.fetchFile(url).toProgressStream(this) when (this) { is Subject.Module -> // Download and process on-the-fly diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 76c41f42e..b3fb58648 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -219,7 +219,7 @@ Failed Hiding Magisk Manager… Hide Magisk Manager failed - Restoring Magisk Manager failed + Restore Magisk Manager failed No application found to open the link Complete Uninstall Restore Images