Update Dependencies (#1)

Co-authored-by: aylz10 <aylz10@users.noreply.github.com>
This commit is contained in:
cmfaapp[bot]
2024-01-16 23:45:14 +08:00
committed by Larvan2
parent 60974e8672
commit 1b5ce606e4
9 changed files with 347 additions and 249 deletions

View File

@@ -9,6 +9,7 @@ import com.github.kr328.clash.util.startClashService
import com.github.kr328.clash.util.stopClashService
import com.github.kr328.clash.util.withClash
import com.github.kr328.clash.util.withProfile
import com.github.kr328.clash.core.bridge.*
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.isActive
import kotlinx.coroutines.selects.select
@@ -125,7 +126,7 @@ class MainActivity : BaseActivity<MainDesign>() {
private suspend fun queryAppVersionName(): String {
return withContext(Dispatchers.IO) {
packageManager.getPackageInfo(packageName, 0).versionName
packageManager.getPackageInfo(packageName, 0).versionName + "\n" + Bridge.nativeCoreVersion().replace("_", "-")
}
}
}