diff --git a/README.md b/README.md index d0d7c1fb..add9473a 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,11 @@ ## 注意: -由于接口限制,请登录小米账号以使用 miotaV3 接口, 这可以同时获取全部机型 `正式版公测` 和当前账号拥有权限对应机型的 `正式版内测`/`开发版公测` 的详情信息 +无论是否登录, 可以查看服务器上所有存在且公开版本的基础信息 + +未登录小米账号时使用 miotaV3-v1 接口, 可正常获取存在且公开机型的 `正式版公测` 的详情信息 + +登录小米账号后使用 miotaV3-v2 接口, 可同时获取当前账号拥有权限对应机型的 `正式版内测`/`开发版公测` 的详情信息 ## 引用: diff --git a/README_EN.md b/README_EN.md index 2d7f5c93..e3914051 100644 --- a/README_EN.md +++ b/README_EN.md @@ -15,7 +15,11 @@ When obtaining `Beta Development Version (X)`, please enter the complete system ## Notes: -Due to interface limitations, please log in to your Xiaomi account to use the miotaV3 interface. You can simultaneously obtain the `Pubilc Release Version` of all devices and the `Beta Release Version`/`Beta Development Version` of the corresponding device that the current account has access to. +Regardless of whether you are logged in or not, you can view the basic information of the existing and public version on the server. + +When you are not logged in with a Xiaomi account, you can use the miotaV3-v1 interface to obtain the detailed information of the `Pubilc Release Version` of any model. + +After logging in to your Xiaomi account, you will use the miotaV3-v2 interface to obtain detailed information about the `Beta Release Version` or the `Public Development Version`, corresponding to the internal test permissions you have. ## Credits: diff --git a/app/src/main/kotlin/top/yukonga/update/activity/MainActivity.kt b/app/src/main/kotlin/top/yukonga/update/activity/MainActivity.kt index 15b0fbef..a5547da5 100644 --- a/app/src/main/kotlin/top/yukonga/update/activity/MainActivity.kt +++ b/app/src/main/kotlin/top/yukonga/update/activity/MainActivity.kt @@ -94,6 +94,9 @@ class MainActivity : AppCompatActivity() { // Setup Cutout mode. setupCutoutMode() + // Setup main information. + setupMainInformation() + // Setup TopAppBar. setupTopAppBar() @@ -160,6 +163,7 @@ class MainActivity : AppCompatActivity() { loginIcon.setImageResource(R.drawable.ic_error) loginTitle.text = getString(R.string.login_expired) loginDesc.text = getString(R.string.login_expired_desc) + cookies.clear() cookies["authResult"] = "-1" FileUtils.saveCookiesFile(this@MainActivity, Json.encodeToString(cookies)) showStringToast(this@MainActivity, getString(R.string.login_expired_dialog), 0) @@ -272,19 +276,11 @@ class MainActivity : AppCompatActivity() { mainContentBinding.apply { loginIcon.setImageResource(R.drawable.ic_check_circle) loginTitle.text = getString(R.string.logged_in) - loginDesc.visibility = View.GONE - deviceName.visibility = View.VISIBLE - codeName.visibility = View.VISIBLE - deviceRegion.visibility = View.VISIBLE - systemVersion.visibility = View.VISIBLE - androidVersion.visibility = View.VISIBLE - // Setup main information. - setupMainInformation() + loginDesc.text = getString(R.string.using_v2) } activityMainBinding.apply { topAppBar.menu.findItem(R.id.login).isVisible = false topAppBar.menu.findItem(R.id.logout).isVisible = true - implement.visibility = View.VISIBLE } } } @@ -308,18 +304,11 @@ class MainActivity : AppCompatActivity() { mainContentBinding.apply { loginIcon.setImageResource(R.drawable.ic_cancel) loginTitle.text = getString(R.string.no_account) - loginDesc.text = getString(R.string.login_to_use) - loginDesc.visibility = View.VISIBLE - deviceName.visibility = View.GONE - codeName.visibility = View.GONE - deviceRegion.visibility = View.GONE - systemVersion.visibility = View.GONE - androidVersion.visibility = View.GONE + loginDesc.text = getString(R.string.login_desc) } activityMainBinding.apply { topAppBar.menu.findItem(R.id.login).isVisible = true topAppBar.menu.findItem(R.id.logout).isVisible = false - implement.visibility = View.GONE } } } @@ -508,19 +497,7 @@ class MainActivity : AppCompatActivity() { } private fun checkIfLoggedIn() { - if (!FileUtils.isCookiesFileExists(this@MainActivity)) { - activityMainBinding.implement.visibility = View.GONE - mainContentBinding.apply { - deviceName.visibility = View.GONE - codeName.visibility = View.GONE - deviceRegion.visibility = View.GONE - systemVersion.visibility = View.GONE - androidVersion.visibility = View.GONE - } - } else { - // Setup main information. - setupMainInformation() - + if (FileUtils.isCookiesFileExists(this@MainActivity)) { val cookiesFile = FileUtils.readCookiesFile(this@MainActivity) val cookies = json.decodeFromString>(cookiesFile) val description = cookies["description"].toString() @@ -535,7 +512,7 @@ class MainActivity : AppCompatActivity() { mainContentBinding.apply { loginIcon.setImageResource(R.drawable.ic_check_circle) loginTitle.text = getString(R.string.logged_in) - loginDesc.visibility = View.GONE + loginDesc.text = getString(R.string.using_v2) } activityMainBinding.apply { topAppBar.menu.findItem(R.id.login).isVisible = false diff --git a/app/src/main/kotlin/top/yukonga/update/logic/data/DeviceInfoHelper.kt b/app/src/main/kotlin/top/yukonga/update/logic/data/DeviceInfoHelper.kt index 9e43bb5a..b4d005c8 100644 --- a/app/src/main/kotlin/top/yukonga/update/logic/data/DeviceInfoHelper.kt +++ b/app/src/main/kotlin/top/yukonga/update/logic/data/DeviceInfoHelper.kt @@ -8,7 +8,7 @@ object DeviceInfoHelper { data class Device(val deviceName: String, val codeName: String, val deviceCode: String) - private const val XIAOMI = "XM" + private const val Xiaomi = "XM" private val androidR = Android("11", "R") private val androidS = Android("12", "S") @@ -196,6 +196,6 @@ object DeviceInfoHelper { fun deviceCode(androidVersion: String, codeName: String, regionCode: String): String { val android = androidList.find { it.androidNumericCode == androidVersion } ?: return "" val device = deviceList.find { it.codeName == codeName } ?: return "" - return "${android.androidLetterCode}${device.deviceCode}${regionCode}${XIAOMI}" + return "${android.androidLetterCode}${device.deviceCode}${regionCode}${Xiaomi}" } } \ No newline at end of file diff --git a/app/src/main/kotlin/top/yukonga/update/logic/utils/InfoUtils.kt b/app/src/main/kotlin/top/yukonga/update/logic/utils/InfoUtils.kt index f9f81273..54ba0432 100644 --- a/app/src/main/kotlin/top/yukonga/update/logic/utils/InfoUtils.kt +++ b/app/src/main/kotlin/top/yukonga/update/logic/utils/InfoUtils.kt @@ -16,7 +16,11 @@ object InfoUtils { private const val CN_RECOVERY_URL = "https://update.miui.com/updates/miotaV3.php" private const val INTL_RECOVERY_URL = "https://update.intl.miui.com/updates/miotaV3.php" - private var port = "2" + private var securityKey = "miuiotavalided11".toByteArray(Charsets.UTF_8) + private var userId = "" + private var accountType = "CN" + private var serviceToken = "" + private var port = "1" private fun generateJson(codeNameExt: String, regionCode: String, romVersion: String, androidVersion: String, userId: String): String { val data = RequestParamHelper( @@ -33,13 +37,16 @@ object InfoUtils { } fun getRecoveryRomInfo(context: Context, codeNameExt: String, regionCode: String, romVersion: String, androidVersion: String): String { - if (!FileUtils.isCookiesFileExists(context)) return "" - val cookiesFile = FileUtils.readCookiesFile(context) - val cookies = json.decodeFromString(cookiesFile) - val userId = cookies.userId - val accountType = cookies.accountType.ifEmpty { "CN" } - val securityKey = Base64.getDecoder().decode((cookies.ssecurity)) - val serviceToken = cookies.serviceToken + + if (FileUtils.isCookiesFileExists(context)) { + val cookiesFile = FileUtils.readCookiesFile(context) + val cookies = json.decodeFromString(cookiesFile) + userId = cookies.userId + accountType = cookies.accountType.ifEmpty { "CN" } + securityKey = Base64.getDecoder().decode((cookies.ssecurity)) + serviceToken = cookies.serviceToken + port = "2" + } val jsonData = generateJson(codeNameExt, regionCode, romVersion, androidVersion, userId) val encryptedText = miuiEncrypt(jsonData, securityKey) val formBodyBuilder = FormBody.Builder().add("q", encryptedText).add("t", serviceToken).add("s", port).build() diff --git a/app/src/main/res/layout-land/main_content.xml b/app/src/main/res/layout-land/main_content.xml index 65d98202..79f31510 100644 --- a/app/src/main/res/layout-land/main_content.xml +++ b/app/src/main/res/layout-land/main_content.xml @@ -66,7 +66,7 @@ android:id="@+id/login_desc" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@string/login_to_use" + android:text="@string/login_desc" android:textColor="?attr/colorOnPrimaryContainer" android:textSize="14sp" /> diff --git a/app/src/main/res/layout/main_content.xml b/app/src/main/res/layout/main_content.xml index df891390..669548d4 100644 --- a/app/src/main/res/layout/main_content.xml +++ b/app/src/main/res/layout/main_content.xml @@ -55,7 +55,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2dp" - android:text="@string/login_to_use" + android:text="@string/login_desc" android:textColor="?attr/colorOnPrimaryContainer" android:textSize="14sp" /> diff --git a/app/src/main/res/values-af-rZA/strings.xml b/app/src/main/res/values-af-rZA/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-af-rZA/strings.xml +++ b/app/src/main/res/values-af-rZA/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-ar-rSA/strings.xml b/app/src/main/res/values-ar-rSA/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-ar-rSA/strings.xml +++ b/app/src/main/res/values-ar-rSA/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-bo-rBT/strings.xml b/app/src/main/res/values-bo-rBT/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-bo-rBT/strings.xml +++ b/app/src/main/res/values-bo-rBT/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-ca-rES/strings.xml b/app/src/main/res/values-ca-rES/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-ca-rES/strings.xml +++ b/app/src/main/res/values-ca-rES/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-cs-rCZ/strings.xml b/app/src/main/res/values-cs-rCZ/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-cs-rCZ/strings.xml +++ b/app/src/main/res/values-cs-rCZ/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-da-rDK/strings.xml b/app/src/main/res/values-da-rDK/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-da-rDK/strings.xml +++ b/app/src/main/res/values-da-rDK/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-de-rDE/strings.xml b/app/src/main/res/values-de-rDE/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-de-rDE/strings.xml +++ b/app/src/main/res/values-de-rDE/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-el-rGR/strings.xml b/app/src/main/res/values-el-rGR/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-el-rGR/strings.xml +++ b/app/src/main/res/values-el-rGR/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-en-rUS/strings.xml b/app/src/main/res/values-en-rUS/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-en-rUS/strings.xml +++ b/app/src/main/res/values-en-rUS/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml index 527fc415..d76b29d7 100644 --- a/app/src/main/res/values-es-rES/strings.xml +++ b/app/src/main/res/values-es-rES/strings.xml @@ -23,6 +23,8 @@ ¡Inicio de sesión fallido! ¡El correo electrónico o contraseña se encuentra vacía! Sin cuenta + Usando interfaz v1 + Usando interfaz v2 Sesión iniciada Copiar Descargar diff --git a/app/src/main/res/values-fi-rFI/strings.xml b/app/src/main/res/values-fi-rFI/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-fi-rFI/strings.xml +++ b/app/src/main/res/values-fi-rFI/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-fr-rFR/strings.xml b/app/src/main/res/values-fr-rFR/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-fr-rFR/strings.xml +++ b/app/src/main/res/values-fr-rFR/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-hu-rHU/strings.xml b/app/src/main/res/values-hu-rHU/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-hu-rHU/strings.xml +++ b/app/src/main/res/values-hu-rHU/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-it-rIT/strings.xml b/app/src/main/res/values-it-rIT/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-it-rIT/strings.xml +++ b/app/src/main/res/values-it-rIT/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-iw-rIL/strings.xml b/app/src/main/res/values-iw-rIL/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-iw-rIL/strings.xml +++ b/app/src/main/res/values-iw-rIL/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-ja-rJP/strings.xml b/app/src/main/res/values-ja-rJP/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-ja-rJP/strings.xml +++ b/app/src/main/res/values-ja-rJP/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-ko-rKR/strings.xml b/app/src/main/res/values-ko-rKR/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-ko-rKR/strings.xml +++ b/app/src/main/res/values-ko-rKR/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-mn-rMN/strings.xml b/app/src/main/res/values-mn-rMN/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-mn-rMN/strings.xml +++ b/app/src/main/res/values-mn-rMN/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-nl-rNL/strings.xml b/app/src/main/res/values-nl-rNL/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-nl-rNL/strings.xml +++ b/app/src/main/res/values-nl-rNL/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-no-rNO/strings.xml b/app/src/main/res/values-no-rNO/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-no-rNO/strings.xml +++ b/app/src/main/res/values-no-rNO/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-pl-rPL/strings.xml b/app/src/main/res/values-pl-rPL/strings.xml index cf2ecb1d..7bbc95f1 100644 --- a/app/src/main/res/values-pl-rPL/strings.xml +++ b/app/src/main/res/values-pl-rPL/strings.xml @@ -23,6 +23,8 @@ Żądanie _podpisu nie powiodło się! Brak konta lub hasła! Brak konta + Używanie interfejsu v1 + Używanie interfejsu v2 Zalogowany Kopiuj Pobierz diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 65b27258..760b010b 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -23,6 +23,8 @@ O início de sessão falhou! Conta ou Senha vazia! Sem conta + Usando interface v1 + Usando interface v2 Sessão iniciada Copiar Baixar diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-ro-rRO/strings.xml b/app/src/main/res/values-ro-rRO/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-ro-rRO/strings.xml +++ b/app/src/main/res/values-ro-rRO/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-ru-rRU/strings.xml b/app/src/main/res/values-ru-rRU/strings.xml index dd4ec9e2..da9aec8b 100644 --- a/app/src/main/res/values-ru-rRU/strings.xml +++ b/app/src/main/res/values-ru-rRU/strings.xml @@ -23,6 +23,8 @@ Запрос _sign не удался! Учетная запись или пароль не заполнены! Нет учетной записи + Использовать интерфейс v1 + Использовать интерфейс v2 Вход выполнен Копировать Скачать diff --git a/app/src/main/res/values-sr-rSP/strings.xml b/app/src/main/res/values-sr-rSP/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-sr-rSP/strings.xml +++ b/app/src/main/res/values-sr-rSP/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-sv-rSE/strings.xml b/app/src/main/res/values-sv-rSE/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-sv-rSE/strings.xml +++ b/app/src/main/res/values-sv-rSE/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-th-rTH/strings.xml b/app/src/main/res/values-th-rTH/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-th-rTH/strings.xml +++ b/app/src/main/res/values-th-rTH/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-tr-rTR/strings.xml b/app/src/main/res/values-tr-rTR/strings.xml index d60d901e..8df16739 100644 --- a/app/src/main/res/values-tr-rTR/strings.xml +++ b/app/src/main/res/values-tr-rTR/strings.xml @@ -23,6 +23,8 @@ Giriş isteği başarısız oldu! Xiaomi Id veya Şifre hatası! Giriş yapılmadı + V1 arayüzü kullanılıyor + V2 arayüzü kullanılıyor Giriş yapıldı Kopyala İndir diff --git a/app/src/main/res/values-ug-rCN/strings.xml b/app/src/main/res/values-ug-rCN/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-ug-rCN/strings.xml +++ b/app/src/main/res/values-ug-rCN/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-uk-rUA/strings.xml b/app/src/main/res/values-uk-rUA/strings.xml index 88794790..44e99a74 100644 --- a/app/src/main/res/values-uk-rUA/strings.xml +++ b/app/src/main/res/values-uk-rUA/strings.xml @@ -23,6 +23,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Copy Download diff --git a/app/src/main/res/values-vi-rVN/strings.xml b/app/src/main/res/values-vi-rVN/strings.xml index 6ae2d808..34e455e2 100644 --- a/app/src/main/res/values-vi-rVN/strings.xml +++ b/app/src/main/res/values-vi-rVN/strings.xml @@ -23,6 +23,8 @@ Yêu cầu _sign không thành công! Tài khoản hoặc mật khẩu không được để trống! Không có tài khoản + Sử dụng giao diện v1 + Sử dụng giao diện v2 Đã đăng nhập Sao chép Tải xuống diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 4c1e1d20..8f79c376 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -23,6 +23,8 @@ 请求 _sign 失败! 账号或密码为空! 未登录 + 正在使用 v1 接口 + 正在使用 v2 接口 已登录 复制 下载 @@ -43,5 +45,4 @@ 已开始下载 登录验证失败! 版权所有 © 2024 YuKongA, AkaneTan - 请登录账号后使用 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index ccf66628..47869438 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -23,6 +23,8 @@ 請求 _sign 失敗! 帳號或密碼為空! 未登入 + 正在使用 v1 端口 + 正在使用 v2 端口 已登入 複製 下載 @@ -43,5 +45,4 @@ 已開始下載 登入验证失败! 版權所有 © 2024 YuKongA, AkaneTan - 請登入帳戶後使用 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 48ec8c1a..01319eaa 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -24,6 +24,8 @@ Request for _sign failed! Account or Password empty! No account + Using v1 interface + Using v2 interface Logged in Official (%1$s) CDN (cdnorg) @@ -53,5 +55,4 @@ Download has started Incorrect account or password! Copyright © 2024 YuKongA, AkaneTan - Please login to use \ No newline at end of file