From c52173d735eec2da758336d32ed97849597b165d Mon Sep 17 00:00:00 2001 From: zt515 Date: Fri, 18 Aug 2017 21:04:38 +0800 Subject: [PATCH] Fix: Installation keeps on failing --- app/build.gradle | 4 ++-- .../java/io/neoterm/component/setup/BaseFileInstaller.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 39522c4..3c94576 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "io.neoterm" minSdkVersion 21 targetSdkVersion 26 - versionCode 25 - versionName "1.2.3" + versionCode 26 + versionName "1.2.4" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" resConfigs "zh-rCN", "zh-rTW" externalNativeBuild { diff --git a/app/src/main/java/io/neoterm/component/setup/BaseFileInstaller.java b/app/src/main/java/io/neoterm/component/setup/BaseFileInstaller.java index 1500ab9..fb317c6 100644 --- a/app/src/main/java/io/neoterm/component/setup/BaseFileInstaller.java +++ b/app/src/main/java/io/neoterm/component/setup/BaseFileInstaller.java @@ -173,7 +173,7 @@ public final class BaseFileInstaller { private static HttpURLConnection openBaseFileConnection() throws IOException { String arch = determineArchName(); - String baseUrl = NeoTermPath.RELEASE_SOURCE; + String baseUrl = NeoTermPath.INSTANCE.getSERVER_BASE_URL(); // Use the same source NeoPreference.INSTANCE.store(R.string.key_package_source, baseUrl);