Fix: Installation keeps on failing

This commit is contained in:
zt515 2017-08-18 21:04:38 +08:00
parent 8a8a0ec420
commit c52173d735
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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);