Bump version to 1.2.3

This commit is contained in:
ZaneYork 2020-03-15 16:34:19 +08:00
parent d48159dddd
commit 006196ae42
2 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@ android {
applicationId "com.zane.smapiinstaller" applicationId "com.zane.smapiinstaller"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 28 targetSdkVersion 28
versionCode 10 versionCode 12
versionName "1.2.2" versionName "1.2.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true multiDexEnabled true

View File

@ -108,7 +108,7 @@ public class FileUtils {
writer.write(JSONUtil.toJson(content)); writer.write(JSONUtil.toJson(content));
} finally { } finally {
File distFile = new File(context.getFilesDir(), filename); File distFile = new File(context.getFilesDir(), filename);
if(file.exists()) { if(distFile.exists()) {
org.zeroturnaround.zip.commons.FileUtils.forceDelete(distFile); org.zeroturnaround.zip.commons.FileUtils.forceDelete(distFile);
} }
org.zeroturnaround.zip.commons.FileUtils.moveFile(file, distFile); org.zeroturnaround.zip.commons.FileUtils.moveFile(file, distFile);