chore: Merge branch dev to main (#1756)

This commit is contained in:
oSumAtrIX 2024-03-09 10:09:13 +01:00 committed by GitHub
commit 9e5e89ac95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 4 deletions

View File

@ -116,5 +116,5 @@ dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.22")
implementation("app.revanced:revanced-patcher:19.3.1")
implementation("app.revanced:revanced-library:2.2.0")
implementation("app.revanced:revanced-library:2.2.1")
}

View File

@ -171,7 +171,10 @@ class PatcherAPI {
if (integrationsFile != null) {
_dataDir.createSync();
_tmpDir.createSync();
final Directory workDir = _tmpDir.createTempSync('tmp-');
final Directory workDir = await _tmpDir.createTemp('tmp-');
final File inApkFile = File('${workDir.path}/in.apk');
await File(apkFilePath).copy(inApkFile.path);
outFile = File('${workDir.path}/out.apk');
@ -182,7 +185,7 @@ class PatcherAPI {
await patcherChannel.invokeMethod(
'runPatcher',
{
'inFilePath': apkFilePath,
'inFilePath': inApkFile.path,
'outFilePath': outFile!.path,
'integrationsPath': integrationsFile.path,
'selectedPatches': selectedPatches.map((p) => p.name).toList(),

View File

@ -4,7 +4,7 @@ homepage: https://github.com/ReVanced/revanced-manager
publish_to: 'none'
version: 1.19.2+101800004
version: 1.19.3-dev.1+101800005
environment:
sdk: '>=3.0.0 <4.0.0'