android: fix a regression with remote program (#4091)
Commit 54a7d799d1
introduced a problem
where /app was used instead of /shell causing a black screen when remote
programs were used. The Android client doesn't support remote apps
therefore /app can't work. "Remote program" just sets the selected
program as shell to run.
This commit is contained in:
parent
ba9227d801
commit
1e54fdb5c2
@ -201,7 +201,7 @@ public class LibFreeRDP {
|
||||
args.add(addFlag("glyph-cache", false));
|
||||
|
||||
if (!advanced.getRemoteProgram().isEmpty()) {
|
||||
args.add("/app:" + advanced.getRemoteProgram());
|
||||
args.add("/shell:" + advanced.getRemoteProgram());
|
||||
}
|
||||
|
||||
if (!advanced.getWorkDir().isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user