refactor: reformat
This commit is contained in:
parent
f679632c1e
commit
a33fa59c3b
5 changed files with 3 additions and 5 deletions
|
|
@ -6,7 +6,6 @@ import com.aliucord.manager.patcher.StepRunner
|
||||||
import com.aliucord.manager.patcher.steps.StepGroup
|
import com.aliucord.manager.patcher.steps.StepGroup
|
||||||
import com.aliucord.manager.util.toPrecision
|
import com.aliucord.manager.util.toPrecision
|
||||||
import kotlinx.coroutines.*
|
import kotlinx.coroutines.*
|
||||||
import kotlin.math.roundToLong
|
|
||||||
import kotlin.time.measureTimedValue
|
import kotlin.time.measureTimedValue
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ import com.aliucord.manager.patcher.steps.download.*
|
||||||
import com.aliucord.manager.ui.screens.patchopts.PatchOptions
|
import com.aliucord.manager.ui.screens.patchopts.PatchOptions
|
||||||
import com.aliucord.manager.util.IS_CUSTOM_BUILD
|
import com.aliucord.manager.util.IS_CUSTOM_BUILD
|
||||||
import com.github.diamondminer88.zip.ZipWriter
|
import com.github.diamondminer88.zip.ZipWriter
|
||||||
import kotlinx.serialization.encodeToString
|
|
||||||
import kotlinx.serialization.json.Json
|
import kotlinx.serialization.json.Json
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
package com.aliucord.manager.patcher.util
|
package com.aliucord.manager.patcher.util
|
||||||
|
|
||||||
|
import com.aliucord.manager.patcher.util.AxmlUtil.getMainAxmlChunk
|
||||||
import com.aliucord.manager.util.find
|
import com.aliucord.manager.util.find
|
||||||
import com.github.diamondminer88.zip.ZipReader
|
import com.github.diamondminer88.zip.ZipReader
|
||||||
import com.github.diamondminer88.zip.ZipWriter
|
import com.github.diamondminer88.zip.ZipWriter
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ import androidx.compose.foundation.layout.*
|
||||||
import androidx.compose.foundation.lazy.LazyColumn
|
import androidx.compose.foundation.lazy.LazyColumn
|
||||||
import androidx.compose.foundation.lazy.items
|
import androidx.compose.foundation.lazy.items
|
||||||
import androidx.compose.foundation.shape.CircleShape
|
import androidx.compose.foundation.shape.CircleShape
|
||||||
import androidx.compose.material.ripple.rememberRipple
|
|
||||||
import androidx.compose.material3.*
|
import androidx.compose.material3.*
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.runtime.remember
|
import androidx.compose.runtime.remember
|
||||||
|
|
|
||||||
|
|
@ -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-transitions = { module = "cafe.adriel.voyager:voyager-transitions", version.ref = "voyager" }
|
||||||
voyager-koin = { module = "cafe.adriel.voyager:voyager-koin", 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" }
|
apksig = { module = "com.android.tools.build:apksig", version.ref = "apksig" }
|
||||||
axml = { module = "com.aliucord:axml", version.ref = "axml" }
|
axml = { module = "com.aliucord:axml", version.ref = "axml" }
|
||||||
binaryResources = { module = "com.aliucord:binary-resources", version.ref = "binary-resources" }
|
binaryResources = { module = "com.aliucord:binary-resources", version.ref = "binary-resources" }
|
||||||
bouncycastle = { module = "org.bouncycastle:bcpkix-jdk15on", version.ref = "bouncycastle" }
|
bouncycastle = { module = "org.bouncycastle:bcpkix-jdk15on", version.ref = "bouncycastle" }
|
||||||
#diff = { module = "io.github.java-diff-utils:java-diff-utils", version.ref = "diff" }
|
#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
|
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" }
|
smali = { module = "com.android.tools.smali:smali", version.ref = "smali" }
|
||||||
baksmali = { module = "com.android.tools.smali:smali-baksmali", 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
|
zip = { module = "io.github.diamondminer88:zip-android", version.ref = "zip" } # Only use the "aar" artifact
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
|
microg = { module = "org.microg.gms:play-services-safetynet", version.ref = "microg" }
|
||||||
compose-shimmer = { module = "com.valentinilk.shimmer:compose-shimmer", version.ref = "shimmer" }
|
compose-shimmer = { module = "com.valentinilk.shimmer:compose-shimmer", version.ref = "shimmer" }
|
||||||
|
|
||||||
[bundles]
|
[bundles]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue