fix(ModLaunch): 证书不信任导致无法登录皮肤站
This commit is contained in:
龙腾猫跃
2025-07-13 20:42:46 +08:00
committed by GitHub
@@ -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))