mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-27 03:21:41 +03:00
added Dani sugested changes for MSRDP of Microsoft on MacOsX
This commit is contained in:
parent
9340e3c3c1
commit
5ff3c58149
@ -69,7 +69,9 @@ elif executable == msrdc:
|
|||||||
# Rename as .rdp, so open recognizes it
|
# Rename as .rdp, so open recognizes it
|
||||||
shutil.move(filename, filename + '.rdp')
|
shutil.move(filename, filename + '.rdp')
|
||||||
|
|
||||||
tools.addTaskToWait(subprocess.Popen(['open', filename + '.rdp']))
|
#tools.addTaskToWait(subprocess.Popen(['open', filename + '.rdp']))
|
||||||
|
# Force MSRDP to be used with -a (thanks to Dani Torregosa)
|
||||||
|
tools.addTaskToWait(subprocess.Popen(['open', '-a', '/Applications/Microsoft Remote Desktop.app', filename + '.rdp']))
|
||||||
tools.addFileToUnlink(filename + '.rdp')
|
tools.addFileToUnlink(filename + '.rdp')
|
||||||
elif executable == xfreerdp:
|
elif executable == xfreerdp:
|
||||||
# Fix resolution...
|
# Fix resolution...
|
||||||
|
@ -84,7 +84,9 @@ if executable == msrdc:
|
|||||||
# Rename as .rdp, so open recognizes it
|
# Rename as .rdp, so open recognizes it
|
||||||
shutil.move(filename, filename + '.rdp')
|
shutil.move(filename, filename + '.rdp')
|
||||||
|
|
||||||
tools.addTaskToWait(subprocess.Popen(['open', filename + '.rdp']))
|
# tools.addTaskToWait(subprocess.Popen(['open', filename + '.rdp']))
|
||||||
|
# Force MSRDP to be used with -a (thanks to Dani Torregosa)
|
||||||
|
tools.addTaskToWait(subprocess.Popen(['open', '-a', '/Applications/Microsoft Remote Desktop.app', filename + '.rdp']))
|
||||||
tools.addFileToUnlink(filename + '.rdp')
|
tools.addFileToUnlink(filename + '.rdp')
|
||||||
elif executable == xfreerdp:
|
elif executable == xfreerdp:
|
||||||
# Fix resolution...
|
# Fix resolution...
|
||||||
|
Loading…
Reference in New Issue
Block a user