mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-03 19:30:31 +00:00
Add remmina remoteapp fallback
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user