Repository navigation
refactor: 优化文件与目录选择逻辑 - #7315
Open
fishdry1000 wants to merge 20 commits into
Open
fishdry1000 wants to merge 20 commits into
fishdry1000 wants to merge 20 commits into
Conversation
Member
|
推荐加一个🤔 在另存资源时,可以设定文件管理器初始显示目录为该实例的对应目录,例如我另存模组时文件选择窗口就显示该实例的模组文件夹 |
Contributor
Author
正有此意😋 |
fishdry1000
marked this pull request as ready for review
November 19, 2026 09:15
Contributor
Author
|
也许具体的分类逻辑还可以再讨论一下🤔 |
This branch has not been deployed
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.
fix: #7321
fix: [Feature] 选择文件对话框应记住上一次选择时的文件夹 #7280
将打开文件夹的情形分成五种情况:
导入文件导入图片导出文件其他情况这四种情况使用持久化保存的逻辑,记忆相同情况下,上次选择的文件夹。游戏目录相关这种情况使用当前游戏实例目录作为初始文件夹。在 没有持久化记忆/位置无效 的情况下,回退到使用当前选择的游戏目录作为初始文件夹。
特别地,对于下载页面,在有关联游戏实例时适用
游戏目录相关的情况,在没有关联的时候适用导出文件的情况。