fix(ModModPack):还不让用 Finally 了是吧
This commit is contained in:
@@ -830,13 +830,11 @@ Retry:
|
|||||||
OpenExplorer(TargetFolder)
|
OpenExplorer(TargetFolder)
|
||||||
Try
|
Try
|
||||||
ShellOnly(Launcher, "--wait") '要求等待已有的 PCL 退出
|
ShellOnly(Launcher, "--wait") '要求等待已有的 PCL 退出
|
||||||
Catch ex As Exception
|
|
||||||
Log(ex,"打开文件失败",LogLevel.MsgBox)
|
|
||||||
Finally
|
|
||||||
Return
|
|
||||||
End Try
|
|
||||||
Log("[Modpack] 为换用整合包中的启动器启动,强制结束程序")
|
Log("[Modpack] 为换用整合包中的启动器启动,强制结束程序")
|
||||||
FrmMain.EndProgram(False)
|
FrmMain.EndProgram(False)
|
||||||
|
Catch ex As Exception
|
||||||
|
Log(ex, "打开文件失败", LogLevel.Msgbox)
|
||||||
|
End Try
|
||||||
Return
|
Return
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
|
|||||||
Reference in New Issue
Block a user