-
Notifications
You must be signed in to change notification settings - Fork 656
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
启动命令长度可能会超过 8191 个字符,从而无法启动游戏 #1013
Comments
Java 可以通过 类似 |
啊,发现 Java 8 不支持,我看看还有没有替代办法。 |
另一个缓解方案,用
环境变量受到 32767 字符限制,该限制应该足够宽裕。 |
对于导出启动脚本,或许可以考虑允许用户选择生成 |
|
破案了, 这个是导致路径过长问题的根源。 |
无法使用相对路径,因为有些 Mod 通过相对路径访问文件夹,假设了当前路径是gameDir,这个无法改变。 |
在 #1105 中修复,应该可以关闭了。 |
Windows 限制单个命令长度不能超过 8191 个字符,其中包含环境变量展开后的长度。
目前所见案例是 authlib-injector 的 prefetched 参数长度可能过长。但如果玩家将 Minecraft 放在深度过大的文件夹中也可能触发该问题。所以需要在游戏崩溃后/启动前弹出参数过长提示。
The text was updated successfully, but these errors were encountered: