Skip to content

Commit 898dd26

Browse files
committed
修复使用系统代理参数问题
1 parent 09cf3cb commit 898dd26

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)