mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-09 19:10:51 +00:00
优化:下载FrpcLib
时忽略https证书(避免老设备证书验证失败)
This commit is contained in:
parent
b0e1ce76cf
commit
894155df22
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user