Repository navigation
Conversation
- 所有退出路径先同步还原:托盘退出/重启/更新(ShutdownApplicationAsync 第一步)、 WM_QUERYENDSESSION/WM_ENDSESSION(关机、重启、注销、安装器 Restart Manager), 会话结束被取消时重新隐藏;ProcessExit;后台线程崩溃(尽力) - 启动恢复:恢复部件前先把记录里的隐藏项全部还原并记日志,之后再按映射隐藏 - 整理扫描把 DeskBox 隐藏的项当普通桌面项(不再「本次无法整理」) - 隐藏项被移到别的文件夹/回收站:按 NTFS 文件 ID 找到新位置并清除隐藏属性 - fork-dev-update.ps1 强制结束后按记录还原 - 单元测试 ForkHiddenRestoreTests
GOXF
added a commit
that referenced
this pull request
Nov 8, 2026
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.
基于 #9(feat/one-click-organize)。
退出路径
ShutdownApplicationAsync第一步同步还原(在任何有超时的关闭步骤之前),关闭步骤里再执行一次(幂等)。WM_QUERYENDSESSION/WM_ENDSESSION→FlushSettingsForEndSession先还原;会话结束被其它程序取消(WM_ENDSESSIONFALSE)则重新隐藏。Environment.Exit:ProcessExit;后台线程崩溃:AppDomain.UnhandledException(尽力)。fork-dev-update.ps1强杀后按记录还原;下次启动mapped-organize-recovery在恢复部件前全部还原并记日志,再按映射重新隐藏。其它
ForkHiddenRestoreTests。