优化:下载`FrpcLib`时忽略https证书(避免老设备证书验证失败)

This commit is contained in:
pppscn 2024-04-27 18:34:27 +08:00
parent b0e1ce76cf
commit 894155df22
1 changed files with 1 additions and 0 deletions

View File

@ -348,6 +348,7 @@ class MainActivity : BaseActivity<ActivityMainBinding?>(), DrawerAdapter.OnItemS
.build() .build()
XHttp.downLoad(downloadUrl) XHttp.downLoad(downloadUrl)
.ignoreHttpsCert()
.savePath(cacheDir.absolutePath) .savePath(cacheDir.absolutePath)
.execute(object : DownloadProgressCallBack<String?>() { .execute(object : DownloadProgressCallBack<String?>() {
override fun onStart() { override fun onStart() {