This commit is contained in:
ZaneYork 2023-04-05 10:27:10 +08:00
parent 8907705d91
commit c7fcaa26f3
2 changed files with 4 additions and 4 deletions

View File

@ -12,8 +12,8 @@ android {
minSdkVersion 21 minSdkVersion 21
//noinspection ExpiringTargetSdkVersion //noinspection ExpiringTargetSdkVersion
targetSdkVersion 30 targetSdkVersion 30
versionCode 73 versionCode 74
versionName "3.7.6.11" versionName "3.18.2.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true multiDexEnabled true

View File

@ -146,7 +146,7 @@ public class ApkPatcher {
} }
return null; return null;
}); });
return new Tuple2<>(apkFile.getAbsolutePath(), null); return new Tuple2<>(apkFile.getAbsolutePath(), new String[0]);
} else if (advancedStage == 1) { } else if (advancedStage == 1) {
File contentFolder = new File(stadewValleyBasePath + "/StardewValley/Content"); File contentFolder = new File(stadewValleyBasePath + "/StardewValley/Content");
if (contentFolder.exists()) { if (contentFolder.exists()) {
@ -157,7 +157,7 @@ public class ApkPatcher {
} else { } else {
extract(0); extract(0);
} }
return new Tuple2<>(apkFile.getAbsolutePath(), null); return new Tuple2<>(apkFile.getAbsolutePath(), new String[0]);
} }
emitProgress(5); emitProgress(5);
return new Tuple2<>(apkFile.getAbsolutePath(), packageInfo.applicationInfo.splitSourceDirs); return new Tuple2<>(apkFile.getAbsolutePath(), packageInfo.applicationInfo.splitSourceDirs);