This commit is contained in:
crschnick committed 2026-09-07 14:10:18 +00:00
1 parent 9655e33223
commit 0ed5bc9215
2 files changed
+5 -1

No files matched your search

@@ -186,6 +186,10 @@ public class StoreCreationMenu {
() -> DataStorage.get().local().ref(),
() -> null,
fileReference -> {
if (fileReference == null) {
return;
}
var file = fileReference.getPath().asLocalPath();
ThreadHelper.runFailableAsync(() -> {
ProcModuleProvider.get().importRdpFile(file);
@@ -33,7 +33,7 @@ public class HttpProxy {
if (env != null) {
try {
var parsed = URI.create(env);
var isSocks = parsed.getScheme().equals("socks5");
var isSocks = parsed.getScheme() != null && parsed.getScheme().equals("socks5");
var host = parsed.getHost();
var port = parsed.getPort() != -1 ? parsed.getPort() : isSocks ? 1080 : 8080;
var userInfo = parsed.getUserInfo();