-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
fix(ModJava):错误将下载目录的 Java 当作特定路径 Java #5781
base: main
Are you sure you want to change the base?
Conversation
能修掉 #5780 的一半,但那个 issue 本身是因为逻辑错误导致的吧。 |
主要还是PCL2作为下载器太方便了。 |
你怎么敢假定用户的下载路径一定是 MyDownload。( |
如果你有更好的建议,请直接发出来,这比反问或者其他形式的话语更受欢迎 |
不引用PCL文件夹下面的深于二层文件夹里面的Java(?) 毕竟一般正常的整合包作者也不会把Java塞进这么深的地方,实在需要的话手动导入就行了吧 |
PCL\MyDownload 这里已经两层了,再叠个 openjdk-xx\bin 这里已经四层了.... 有些 Java 可能 openjdk-xx 和 bin 之间再叠个 jdk-xx,这里就五层了 还没考虑到可能嵌套文件夹分发,目录会更多层了 Edit:主要是自定义下载的源代码被扣掉了,不然也不会硬编码什么的 |
现在会排除 PCL 下的 MyDownload 文件夹,防止用户误操作解压到此文件夹,进而因为特定路径优先选择的搜索逻辑导致游戏崩溃
Resolve #5780