Skip to content

Commit f921370

Browse files
GlavoXirren
andauthored
[release/3.10] 修复系统代理 JVM 参数格式 (#5591)
#5265 Co-authored-by: Xirren <michaelqiancn@gmail.com> Co-authored-by: xirren <xirren@outlook.com>
1 parent 61774c2 commit f921370

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HMCLCore/src/main/java/org/jackhuang/hmcl/launch/DefaultLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private Command generateCommandLine(Path nativeFolder) throws IOException {
172172

173173
Proxy.Type proxyType = options.getProxyType();
174174
if (proxyType == null) {
175-
res.addDefault("-Djava.net.useSystemProxies", "true");
175+
res.addDefault("-Djava.net.useSystemProxies=", "true");
176176
} else {
177177
String proxyHost = options.getProxyHost();
178178
int proxyPort = options.getProxyPort();

0 commit comments

Comments
 (0)