Skip to content

Conversation

@CiiLu
Copy link
Contributor

@CiiLu CiiLu commented Jan 30, 2026

match(List<String> l, String fileName, boolean isDirectory) 方法调用处传进来的 fileName 都是使用的 / 分割而不是系统 File.separator,这就导致在 Windows 平台下这里的匹配总为 false 导致其他地方工作不正常(例如导出整合包时 assets 文件夹没有被正确隐藏)

@CiiLu CiiLu changed the title update fix: 修复 Windows 平台下 ModAdviser 没有正常工作的问题 Jan 30, 2026
@Glavo
Copy link
Member

Glavo commented Feb 2, 2026

并不是所有场合传递的路径都是用 / 分割,你这样修改可能会导致多处地方出问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants