Fix: SetupThread didn't start

This commit is contained in:
imkiva 2018-02-07 18:08:28 +08:00
parent bbab6a5de0
commit 188af8ad9e
3 changed files with 3 additions and 4 deletions

View File

@ -25,7 +25,7 @@ object NeoTermPath {
const val SOURCE_FILE = "$USR_PATH/etc/apt/sources.list"
const val PACKAGE_LIST_DIR = "$USR_PATH/var/lib/apt/lists"
private const val SOURCE = "http://neoterm.studio"
private const val SOURCE = "http://janyo.pw:82/kiva/neoterm"
val DEFAULT_SOURCE: String

View File

@ -34,6 +34,7 @@ object SetupHelper {
progress.show()
SetupThread(activity, connection, prefixFile, resultListener, progress)
.start()
}
private fun makeProgressDialog(context: Context): ProgressDialog {

View File

@ -160,8 +160,7 @@
<string name="new_session_with_profile">New Session With Profile</string>
<string name="no_profile_available">No profile available</string>
<string name="default_source_url">http://neoterm.studio</string>
<string name="lnpo_source_url">http://lnpo.top:81/neoterm</string>
<string name="default_source_url">http://janyo.pw:82/kiva/neoterm</string>
<string-array name="pref_general_shell_entries" translatable="false">
<item>sh</item>
@ -172,7 +171,6 @@
<string-array name="pref_package_source_values" translatable="false">
<item>@string/default_source_url</item>
<item>@string/lnpo_source_url</item>
</string-array>
<string-array name="color_item_names">