From c7fcaa26f3bb3a6701ad6a82f7199307c9333c3a Mon Sep 17 00:00:00 2001 From: ZaneYork Date: Wed, 5 Apr 2023 10:27:10 +0800 Subject: [PATCH] Bug fix --- app/build.gradle | 4 ++-- .../main/java/com/zane/smapiinstaller/logic/ApkPatcher.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index b040c5b..f52f6ec 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,8 +12,8 @@ android { minSdkVersion 21 //noinspection ExpiringTargetSdkVersion targetSdkVersion 30 - versionCode 73 - versionName "3.7.6.11" + versionCode 74 + versionName "3.18.2.2" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true diff --git a/app/src/main/java/com/zane/smapiinstaller/logic/ApkPatcher.java b/app/src/main/java/com/zane/smapiinstaller/logic/ApkPatcher.java index ca44213..3e27237 100644 --- a/app/src/main/java/com/zane/smapiinstaller/logic/ApkPatcher.java +++ b/app/src/main/java/com/zane/smapiinstaller/logic/ApkPatcher.java @@ -146,7 +146,7 @@ public class ApkPatcher { } return null; }); - return new Tuple2<>(apkFile.getAbsolutePath(), null); + return new Tuple2<>(apkFile.getAbsolutePath(), new String[0]); } else if (advancedStage == 1) { File contentFolder = new File(stadewValleyBasePath + "/StardewValley/Content"); if (contentFolder.exists()) { @@ -157,7 +157,7 @@ public class ApkPatcher { } else { extract(0); } - return new Tuple2<>(apkFile.getAbsolutePath(), null); + return new Tuple2<>(apkFile.getAbsolutePath(), new String[0]); } emitProgress(5); return new Tuple2<>(apkFile.getAbsolutePath(), packageInfo.applicationInfo.splitSourceDirs);