fix #3985
This commit is contained in:
@@ -2186,7 +2186,7 @@ NextElement:
|
|||||||
''' </summary>
|
''' </summary>
|
||||||
Public Sub OpenWebsite(Url As String)
|
Public Sub OpenWebsite(Url As String)
|
||||||
Try
|
Try
|
||||||
If Not Url.StartsWithF("http", True) Then Throw New Exception(Url & " 不是一个有效的网址,它必须以 http 开头!")
|
If Not Url.StartsWithF("http", True) Or Url = "minecraft://" Then Throw New Exception(Url & " 不是一个有效的网址,它必须以 http 开头!")
|
||||||
Log("[System] 正在打开网页:" & Url)
|
Log("[System] 正在打开网页:" & Url)
|
||||||
Process.Start(Url)
|
Process.Start(Url)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
|||||||
Reference in New Issue
Block a user