build: update support server and proguard rules
This commit updates the support server Discord invite link in the build configuration. Additionally, it adds Proguard rules necessary for LSPatch to function correctly and excludes the `apksig` dependency as it's now bundled within LSPatch.
This commit is contained in:
parent
fcae071203
commit
96a6d77093
2 changed files with 14 additions and 3 deletions
|
|
@ -33,7 +33,8 @@ android {
|
|||
|
||||
buildConfigField("String", "APPLICATION_NAME", "\"Wintry Manager\"")
|
||||
buildConfigField("String", "TAG", "\"WintryManager\"")
|
||||
buildConfigField("String", "SUPPORT_SERVER", "\"EsNDvBaHVU\"")
|
||||
|
||||
buildConfigField("String", "SUPPORT_SERVER", "\"ybPB5tgD\"")
|
||||
|
||||
buildConfigField("String", "BACKEND_URL", "\"https://aliucord.com/\"")
|
||||
|
||||
|
|
@ -195,12 +196,10 @@ dependencies {
|
|||
}
|
||||
|
||||
configurations.all {
|
||||
// ---- Previous Exclusions ----
|
||||
exclude(group = "org.bouncycastle")
|
||||
exclude(group = "org.checkerframework", module = "checker-qual")
|
||||
exclude(group = "com.aliucord", module = "axml")
|
||||
|
||||
// ---- New Exclusions ----
|
||||
// Exclude apksig, as it's bundled in LSPatch
|
||||
exclude(group = "com.android.tools.build", module = "apksig")
|
||||
|
||||
|
|
|
|||
12
app/proguard-rules.pro
vendored
12
app/proguard-rules.pro
vendored
|
|
@ -53,3 +53,15 @@
|
|||
|
||||
# Preserve the line number information for debugging stack traces.
|
||||
-keepattributes LineNumberTable
|
||||
|
||||
# Fix LSPatch breaking
|
||||
# ref: https://github.com/LSPosed/LSPatch/blob/bbe8d93fb9230f7b04babaf1c4a11642110f55a6/manager/proguard-rules.pro#L12-L18
|
||||
-keep class com.beust.jcommander.** { *; }
|
||||
-keep class org.lsposed.lspatch.Patcher$Options { *; }
|
||||
-keep class org.lsposed.lspatch.share.LSPConfig { *; }
|
||||
-keep class org.lsposed.lspatch.share.PatchConfig { *; }
|
||||
-keepclassmembers class org.lsposed.patch.LSPatch {
|
||||
private <fields>;
|
||||
}
|
||||
-dontwarn com.google.auto.value.AutoValue$Builder
|
||||
-dontwarn com.google.auto.value.AutoValue
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue