Merge pull request #6287 from PCL-Community/fix#5252
fix(ModLaunch): 证书不信任导致无法登录皮肤站
This commit is contained in:
@@ -1424,6 +1424,7 @@ Retry:
|
|||||||
End If
|
End If
|
||||||
'Authlib-Injector
|
'Authlib-Injector
|
||||||
If McLoginLoader.Output.Type = "Auth" Then
|
If McLoginLoader.Output.Type = "Auth" Then
|
||||||
|
If (McLaunchJavaSelected.VersionCode >= 6) Then DataList.Add("-Djavax.net.ssl.trustStoreType=WINDOWS-ROOT")
|
||||||
Dim Server As String = If(McLoginLoader.Input.Type = McLoginType.Legacy,
|
Dim Server As String = If(McLoginLoader.Input.Type = McLoginType.Legacy,
|
||||||
"http://hiperauth.tech/api/yggdrasil-hiper/", 'HiPer 登录
|
"http://hiperauth.tech/api/yggdrasil-hiper/", 'HiPer 登录
|
||||||
Setup.Get("VersionServerAuthServer", McVersionCurrent))
|
Setup.Get("VersionServerAuthServer", McVersionCurrent))
|
||||||
@@ -1493,6 +1494,7 @@ NextVersion:
|
|||||||
End If
|
End If
|
||||||
'Authlib-Injector
|
'Authlib-Injector
|
||||||
If McLoginLoader.Output.Type = "Auth" Then
|
If McLoginLoader.Output.Type = "Auth" Then
|
||||||
|
If (McLaunchJavaSelected.VersionCode >= 6) Then DataList.Add("-Djavax.net.ssl.trustStoreType=WINDOWS-ROOT")
|
||||||
Dim Server As String = If(McLoginLoader.Input.Type = McLoginType.Legacy,
|
Dim Server As String = If(McLoginLoader.Input.Type = McLoginType.Legacy,
|
||||||
"http://hiperauth.tech/api/yggdrasil-hiper/", 'HiPer 登录
|
"http://hiperauth.tech/api/yggdrasil-hiper/", 'HiPer 登录
|
||||||
Setup.Get("VersionServerAuthServer", Version:=McVersionCurrent))
|
Setup.Get("VersionServerAuthServer", Version:=McVersionCurrent))
|
||||||
|
|||||||
Reference in New Issue
Block a user