feat(game): game process management - #6864
Open
ToobLac wants to merge 13 commits into
Open
Conversation
|
是否可支持在重启实例? 还有打开对应的日志文件(属于是把管理实例的那套东西搬过来了) 还有持久化(现在那个列表是刷新就没了)等等 |
Contributor
Author
也许可做
这个可以考虑
持久化可能会导致oom |
ToobLac
marked this pull request as draft
September 13, 2026 06:21
|
Contributor
Author
现在一个实例的日志都有可能把 HMCL 刷到卡死,更何况保留一堆实例的日志 |
emmm.... 能不能抛弃(异步)呢? |
Contributor
Author
跟异步有什么关系?单纯是日志太多了,内存和计算压力都很大 |
|
仅在查看日志的时候加载日志? |
Contributor
Author
那还得从文件加载日志 总之我不会做这个功能,如果要做以后再说 |
|
那出了我在提issue |
Contributor
Author
事实证明这个也不好做,因为不存在一个方法能准确判定哪个日志文件属于这个进程。而且执行完之后日志文件都是打包到 gzip 里面的 |
能不能在文件内注入标识符? (或者放弃这个功能) |
ToobLac
marked this pull request as ready for review
September 13, 2026 08:31
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.
添加游戏进程管理功能
在打开游戏进程管理界面后,会列出所有当前启动器启动的、正在运行的游戏进程,并可进行打开日志窗口、终止进程等操作。
Resolves #5719 Resolves #6848