fix(ModModPack):还不让用 Finally 了是吧

This commit is contained in:
薄奚梦灵
2025-03-22 15:53:01 +08:00
committed by GitHub
parent 0aabb69e16
commit 4e14427349
@@ -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