Skip to content

Windows 资源文件路径大小写问题 #11890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TCOTC opened this issue Jul 5, 2024 · 9 comments
Closed

Windows 资源文件路径大小写问题 #11890

TCOTC opened this issue Jul 5, 2024 · 9 comments

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Jul 5, 2024

https://ld246.com/article/1720165558482

更改路径大小写之后,未引用的资源文件中不应该出现这个资源文件

@winter60
Copy link

winter60 commented Jul 5, 2024

我的意思是不区分大小写哦,操作系统都不区分的

@TCOTC TCOTC changed the title 引用资源文件(图片)区分大小写 清理未引用的资源文件时不应该区分大小写 Jul 5, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Jul 5, 2024

操作系统都不区分的

我还是第一次知道

@TCOTC
Copy link
Contributor Author

TCOTC commented Jul 5, 2024

我又想了想,还是「更改路径大小写之后不应该还能正常显示图片」更好,但不知道能否实现

@88250
Copy link
Member

88250 commented Jul 5, 2024

我的意思是不区分大小写哦,操作系统都不区分的

只有 Windows 不区分,其他系统是区分大小写的,所以为了保证跨平台不出问题,还是要区分大小写。

所以保持不变了,感谢反馈。

@88250 88250 closed this as completed Jul 5, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Jul 5, 2024

@88250帖子 里的问题怎么解决? Windows 不区分大小写

@88250
Copy link
Member

88250 commented Jul 5, 2024

解决不了,路径要区分大小写的。

@winter60
Copy link

winter60 commented Jul 5, 2024

还有一个问题哈,资源路径名在块里写错后,为什么显示资源丢失,不应该只是未引用资源吗?@88250

@88250
Copy link
Member

88250 commented Jul 5, 2024

未引用指的是出现了多余的资源文件;丢失指的是引用的路径不存在。

@winter60
Copy link

winter60 commented Jul 5, 2024

好的,终于搞明白了,感谢感谢

@TCOTC TCOTC changed the title 清理未引用的资源文件时不应该区分大小写 Windows 资源文件路径大小写问题 Jul 5, 2024
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

No branches or pull requests

3 participants