启用高帧率动画 (#3655)

* 启用高帧率动画

* update
This commit is contained in:
Glavo 2025-02-27 09:51:06 +08:00 committed by GitHub
parent 50c22e1f43
commit a45b636b1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,6 +54,7 @@ public final class Main {
public static void main(String[] args) {
System.getProperties().putIfAbsent("java.net.useSystemProxies", "true");
System.getProperties().putIfAbsent("javafx.autoproxy.disable", "true");
System.getProperties().putIfAbsent("javafx.animation.pulse", "120");
System.getProperties().putIfAbsent("http.agent", "HMCL/" + Metadata.VERSION);
LOG.start(Metadata.HMCL_DIRECTORY.resolve("logs"));