@@ -293,31 +293,15 @@ NextInner:
293293 End If
294294# End If
295295 '正版购买提示
296- If CurrentLaunchOptions?.SaveBatch Is Nothing AndAlso '保存脚本时不提示
297- Not Setup.Get( "HintBuy" ) AndAlso SelectedProfile.Type <> McLoginType.Ms Then
298- If IsRestrictedFeatAllowed Then
299- RunInNewThread(
300- Sub ()
301- Select Case Setup.Get( "SystemLaunchCount" )
302- Case 3 , 8 , 15 , 30 , 50 , 70 , 90 , 110 , 130 , 180 , 220 , 280 , 330 , 380 , 450 , 550 , 660 , 750 , 880 , 950 , 1100 , 1300 , 1500 , 1700 , 1900
303- If MyMsgBox( "你已经启动了 " & Setup.Get( "SystemLaunchCount" ) & " 次 Minecraft 啦!" & vbCrLf &
304- "如果觉得 Minecraft 还不错,可以购买正版支持一下,毕竟开发游戏也真的很不容易……不要一直白嫖啦。" & vbCrLf & vbCrLf &
305- "在登录一次正版账号后,就不会再出现这个提示了!" ,
306- "考虑一下正版?" , "支持正版游戏!" , "下次一定" ) = 1 Then
307- OpenWebsite( "https://www.xbox.com/zh-cn/games/store/minecraft-java-bedrock-edition-for-pc/9nxp44l49shj" )
308- End If
309- End Select
310- End Sub , "Buy Minecraft" )
311- Else
312- Select Case MyMsgBox( "你必须先登录正版账号才能启动游戏!" , "正版验证" , "购买正版" , "试玩" , "返回" ,
296+ If Not ProfileList.Any( Function (x) x.Type = McLoginType.Ms) Then
297+ Select Case MyMsgBox( "你必须先登录正版账号才能启动游戏!" , "正版验证" , "购买正版" , "试玩" , "返回" ,
313298 Button1Action:= Sub () OpenWebsite( "https://www.xbox.com/zh-cn/games/store/minecraft-java-bedrock-edition-for-pc/9nxp44l49shj" ))
314- Case 2
315- Hint( "游戏将以试玩模式启动!" , HintType.Critical)
316- CurrentLaunchOptions.ExtraArgs.Add( "--demo" )
317- Case 3
318- Throw New Exception( "$$" )
319- End Select
320- End If
299+ Case 2
300+ Hint( "游戏将以试玩模式启动!" , HintType.Critical)
301+ CurrentLaunchOptions.ExtraArgs.Add( "--demo" )
302+ Case 3
303+ Throw New Exception( "$$" )
304+ End Select
321305 End If
322306 End Sub
323307
@@ -594,7 +578,6 @@ SkipLogin:
594578 '结束
595579 McLoginMsRefreshTime = TimeUtils.GetTimeTick()
596580 ProfileLog( "正版验证完成" )
597- Setup.Set( "HintBuy" , True ) '关闭正版购买提示
598581 If IsSkipAuth Then
599582 Data.Progress = 0.99
600583 Data.Output = New McLoginResult With {.AccessToken = SelectedProfile.AccessToken,
0 commit comments