Add remmina remoteapp fallback

This commit is contained in:
crschnick
2025-11-22 22:18:22 +00:00
parent 6cdb386d9c
commit 2da490fc8a
@@ -24,6 +24,16 @@ public class RemminaRdpClient implements ExternalApplicationType.LinuxApplicatio
@Override
public void launch(RdpLaunchConfig configuration) throws Exception {
RdpConfig c = configuration.getConfig();
// Remmina does not support RemoteApps
if (c.get("remoteapplicationprogram").isPresent()) {
var freerdp = new FreeRdpClient();
if (freerdp.isAvailable()) {
freerdp.launch(configuration);
return;
}
}
var l = new HashSet<>(c.getContent().keySet());
toStrip().forEach(l::remove);
if (l.size() == 2 && l.contains("username") && l.contains("full address")) {