Skip to content

Commit 2da490f

Browse files
committed
Add remmina remoteapp fallback
1 parent 6cdb386 commit 2da490f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/src/main/java/io/xpipe/app/rdp/RemminaRdpClient.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ private List<String> toStrip() {
2424
@Override
2525
public void launch(RdpLaunchConfig configuration) throws Exception {
2626
RdpConfig c = configuration.getConfig();
27+
28+
// Remmina does not support RemoteApps
29+
if (c.get("remoteapplicationprogram").isPresent()) {
30+
var freerdp = new FreeRdpClient();
31+
if (freerdp.isAvailable()) {
32+
freerdp.launch(configuration);
33+
return;
34+
}
35+
}
36+
2737
var l = new HashSet<>(c.getContent().keySet());
2838
toStrip().forEach(l::remove);
2939
if (l.size() == 2 && l.contains("username") && l.contains("full address")) {

0 commit comments

Comments
 (0)