启动HMCL时,若有,提示上次运行时可能发生的 Java 虚拟机崩溃 - #6650
Open
Hylfrd wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
当 HMCL 发生 JVM 崩溃时会直接终止进程,HMCL 无法在崩溃发生时显示错误窗口。用户重新打开启动器后,现有界面也不会提示上次异常,通常只能观察到启动器突然关闭(并在启动器子目录留下hs_err_pid 报告),难以判断原因并提供有效信息求助。
此 PR 在启动时识别上一轮 HMCL 运行产生的
hs_err_pid*.log,并显示警告,引导反复遇到问题的用户通过帮助页面求助。注:I18N由AI完成翻译。