优化:下载`FrpcLib`时忽略https证书(避免老设备证书验证失败)
This commit is contained in:
parent
b0e1ce76cf
commit
894155df22
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue