diff --git a/app/src/main/kotlin/com/aliucord/manager/patcher/steps/base/Step.kt b/app/src/main/kotlin/com/aliucord/manager/patcher/steps/base/Step.kt index 6a4e432..a6a22bf 100644 --- a/app/src/main/kotlin/com/aliucord/manager/patcher/steps/base/Step.kt +++ b/app/src/main/kotlin/com/aliucord/manager/patcher/steps/base/Step.kt @@ -6,7 +6,6 @@ import com.aliucord.manager.patcher.StepRunner import com.aliucord.manager.patcher.steps.StepGroup import com.aliucord.manager.util.toPrecision import kotlinx.coroutines.* -import kotlin.math.roundToLong import kotlin.time.measureTimedValue /** diff --git a/app/src/main/kotlin/com/aliucord/manager/patcher/steps/patch/SaveMetadataStep.kt b/app/src/main/kotlin/com/aliucord/manager/patcher/steps/patch/SaveMetadataStep.kt index d4afb64..f5df94b 100644 --- a/app/src/main/kotlin/com/aliucord/manager/patcher/steps/patch/SaveMetadataStep.kt +++ b/app/src/main/kotlin/com/aliucord/manager/patcher/steps/patch/SaveMetadataStep.kt @@ -11,7 +11,6 @@ import com.aliucord.manager.patcher.steps.download.* import com.aliucord.manager.ui.screens.patchopts.PatchOptions import com.aliucord.manager.util.IS_CUSTOM_BUILD import com.github.diamondminer88.zip.ZipWriter -import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json /** diff --git a/app/src/main/kotlin/com/aliucord/manager/patcher/util/AxmlUtil.kt b/app/src/main/kotlin/com/aliucord/manager/patcher/util/AxmlUtil.kt index 8f6b544..9850f87 100644 --- a/app/src/main/kotlin/com/aliucord/manager/patcher/util/AxmlUtil.kt +++ b/app/src/main/kotlin/com/aliucord/manager/patcher/util/AxmlUtil.kt @@ -1,5 +1,6 @@ package com.aliucord.manager.patcher.util +import com.aliucord.manager.patcher.util.AxmlUtil.getMainAxmlChunk import com.aliucord.manager.util.find import com.github.diamondminer88.zip.ZipReader import com.github.diamondminer88.zip.ZipWriter diff --git a/app/src/main/kotlin/com/aliucord/manager/ui/screens/about/AboutScreen.kt b/app/src/main/kotlin/com/aliucord/manager/ui/screens/about/AboutScreen.kt index ac8a05b..bdc8de6 100644 --- a/app/src/main/kotlin/com/aliucord/manager/ui/screens/about/AboutScreen.kt +++ b/app/src/main/kotlin/com/aliucord/manager/ui/screens/about/AboutScreen.kt @@ -11,7 +11,6 @@ import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.foundation.shape.CircleShape -import androidx.compose.material.ripple.rememberRipple import androidx.compose.material3.* import androidx.compose.runtime.Composable import androidx.compose.runtime.remember diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 255a4d3..445936a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -73,19 +73,19 @@ voyager-navigator = { module = "cafe.adriel.voyager:voyager-navigator", version. voyager-transitions = { module = "cafe.adriel.voyager:voyager-transitions", version.ref = "voyager" } voyager-koin = { module = "cafe.adriel.voyager:voyager-koin", version.ref = "voyager" } -# Other +# Patching apksig = { module = "com.android.tools.build:apksig", version.ref = "apksig" } axml = { module = "com.aliucord:axml", version.ref = "axml" } binaryResources = { module = "com.aliucord:binary-resources", version.ref = "binary-resources" } bouncycastle = { module = "org.bouncycastle:bcpkix-jdk15on", version.ref = "bouncycastle" } #diff = { module = "io.github.java-diff-utils:java-diff-utils", version.ref = "diff" } diff = "com.github.Aliucord:java-diff-utils:a0002d1d40" # TODO: remove when https://github.com/java-diff-utils/java-diff-utils/pull/198 is merged -microg = { module = "org.microg.gms:play-services-safetynet", version.ref = "microg" } smali = { module = "com.android.tools.smali:smali", version.ref = "smali" } baksmali = { module = "com.android.tools.smali:smali-baksmali", version.ref = "smali" } zip = { module = "io.github.diamondminer88:zip-android", version.ref = "zip" } # Only use the "aar" artifact # Other +microg = { module = "org.microg.gms:play-services-safetynet", version.ref = "microg" } compose-shimmer = { module = "com.valentinilk.shimmer:compose-shimmer", version.ref = "shimmer" } [bundles]