Skip to content
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

[Bug] 当系统用户名结尾带感叹号 (!) 时用 Authlib Injector 报错 #3288

Closed
ZekerZhayard opened this issue Sep 15, 2024 · 3 comments
Labels

Comments

@ZekerZhayard
Copy link
Contributor

平台 | Platform

/

问题描述 | Problem Description

当系统用户名结尾带感叹号 (!) 时用 Authlib Injector 报错
https://github.com/yushijinhun/authlib-injector/blob/cf9248bdbf8459887d2862fde6c585f0341007b1/src/main/java/moe/yushi/authlibinjector/transform/support/YggdrasilKeyTransformUnit.java#L57

因为修改系统用户名比较麻烦,所以我觉得 HMCL 需要一些检测手段让部分文件不放在 %APPDATA% 里而是别的地方

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

minecraft.log https://paste.ubuntu.com/p/WywMB3cNcG/
hmcl.log https://paste.ubuntu.com/p/mFty95khxf/

$146DFX~X C655AL0GFC{76

@allMagicNB
Copy link

每个 Bug 背后都有真实案例

@zkitefly
Copy link
Member

有什么好地方可以放 Authlib Injector 的吗

@zkitefly zkitefly mentioned this issue Oct 1, 2024
@zkitefly
Copy link
Member

zkitefly commented Oct 1, 2024

可使用 JVM 参数 -Dhmcl.authlibinjector.location=<path> 来解决问题

@zkitefly zkitefly closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants