Ver Fonte

feat(auth): 打开的微软验证网页现在会自动填入设备代码

Pigeon0v0 há 2 anos atrás
pai
commit
0bbb048c59
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Plain Craft Launcher 2/Modules/Minecraft/ModLaunch.vb

+ 1 - 1
Plain Craft Launcher 2/Modules/Minecraft/ModLaunch.vb

@@ -820,7 +820,7 @@ LoginFinish:
             VerifyUri = ResultJson("verification_uri")
             ExpiresIn = ResultJson("expires_in")
             ClipboardSet(UserCode)
-            OpenWebsite(VerifyUri)
+            OpenWebsite(VerifyUri + "?oct=" + UserCode)
 
             Dim MsgBoxValue As String = ""
             While MsgBoxValue IsNot "1"