mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2026-10-17 05:31:22 +08:00
[release/3.10] 修复系统代理 JVM 参数格式 (#5591)
https://github.com/HMCL-dev/HMCL/pull/5265 Co-authored-by: Xirren <michaelqiancn@gmail.com> Co-authored-by: xirren <xirren@outlook.com>
This commit is contained in:
@@ -172,7 +172,7 @@ public class DefaultLauncher extends Launcher {
|
||||
|
||||
Proxy.Type proxyType = options.getProxyType();
|
||||
if (proxyType == null) {
|
||||
res.addDefault("-Djava.net.useSystemProxies", "true");
|
||||
res.addDefault("-Djava.net.useSystemProxies=", "true");
|
||||
} else {
|
||||
String proxyHost = options.getProxyHost();
|
||||
int proxyPort = options.getProxyPort();
|
||||
|
||||
Reference in New Issue
Block a user