Skip to content

Commit

Permalink
build: Bump dependencies to fix signing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Mar 9, 2024
1 parent 4acd738 commit b52e49d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
7 changes: 3 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ flutter {
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.22"
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.22")

// ReVanced
implementation "app.revanced:revanced-patcher:19.3.1"
implementation "app.revanced:revanced-library:2.1.0"
implementation("app.revanced:revanced-patcher:19.3.1")
implementation("app.revanced:revanced-library:2.2.0")
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import android.os.Handler
import android.os.Looper
import app.revanced.library.ApkUtils
import app.revanced.library.ApkUtils.applyTo
import app.revanced.library.ApkUtils.sign
import app.revanced.manager.flutter.utils.Aapt
import app.revanced.manager.flutter.utils.packageInstaller.InstallerReceiver
import app.revanced.manager.flutter.utils.packageInstaller.UninstallerReceiver
Expand Down Expand Up @@ -339,16 +338,15 @@ class MainActivity : FlutterActivity() {
patcher.get()
}

inFile.copyTo(outFile)

if (cancel(patcher::close)) return@Thread

patcherResult.applyTo(outFile)
patcherResult.applyTo(inFile)

if (cancel(patcher::close)) return@Thread
updateProgress(0.8, "Signing...", "")

outFile.sign(
ApkUtils.sign(
inFile,
outFile,
ApkUtils.SigningOptions(
keyStoreFile,
keystorePassword,
Expand Down

0 comments on commit b52e49d

Please sign in to comment.