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

This commit is contained in:
pppscn 2024-04-27 18:34:27 +08:00
parent b0e1ce76cf
commit 894155df22

View File

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