Skip to content

Commit

Permalink
又改了改
Browse files Browse the repository at this point in the history
现在如果给 URL Scheme 传参也能接受了
  • Loading branch information
JingHai-Lingyun committed Jun 10, 2024
1 parent 657b5ef commit eefb8b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plain Craft Launcher 2/Modules/Base/ModBase.vb
Original file line number Diff line number Diff line change
Expand Up @@ -2186,8 +2186,8 @@ NextElement:
''' </summary>
Public Sub OpenWebsite(Url As String)
' 允许 Minecraft 基岩版的 URLScheme (#3985)
If Url = "minecraft://" Then
' 一定会被捕捉到错误,单独拎出来
If Url.StartsWithF("minecraft://") Then
' 一定会被捕捉到错误,要单独拎出来
Process.Start(Url)
Else
Try
Expand Down

0 comments on commit eefb8b5

Please sign in to comment.