diff --git a/server/src/uds/transports/SPICE/scripts/macosx/direct.py b/server/src/uds/transports/SPICE/scripts/macosx/direct.py index b32d2ff6d..cc2c798c5 100644 --- a/server/src/uds/transports/SPICE/scripts/macosx/direct.py +++ b/server/src/uds/transports/SPICE/scripts/macosx/direct.py @@ -8,16 +8,30 @@ from uds import tools # type: ignore -remoteViewer = '/Applications/RemoteViewer.app/Contents/MacOS/RemoteViewer' - -if not os.path.isfile(remoteViewer): +remoteViewerPaths = [ + '/Applications/RemoteViewer.app/Contents/MacOS/RemoteViewer', + '/opt/homebrew/bin/remote-viewer', + '/usr/local/bin/remote-viewer', +] + +remoteViewer = None +for path in remoteViewerPaths: + if os.path.isfile(path): + remoteViewer = path + break + +if not remoteViewer: raise Exception( '''
You need to have installed virt-viewer to connect to this UDS service.
Please, install appropriate package for your system.
- Open download page
+ You can install it via Homebrew:
+ brew install virt-viewer
+
+ Or download it from MacPorts.
Please, note that in order to UDS Connector to work correctly, you must copy the Remote Viewer app to your Applications Folder.
diff --git a/server/src/uds/transports/SPICE/scripts/macosx/direct.py.signature b/server/src/uds/transports/SPICE/scripts/macosx/direct.py.signature
index 1e24352b2..9b13ae88b 100644
--- a/server/src/uds/transports/SPICE/scripts/macosx/direct.py.signature
+++ b/server/src/uds/transports/SPICE/scripts/macosx/direct.py.signature
@@ -1 +1 @@
-trUPaAK6GcQ3T21hk0Gmmz1cYCdX3NahxZgytM1Z0hp7TIksQOh6OkNFP03RSaT4DnbWJBaot3xPYk2bTzzYsQv10ZQwHA2GS1exlzAAfP9/oLBTji0xGOt5zXEWSD0gqeAMrjhRK8pxpaJZ3xUuvujPuh3sNeb/XqQdNlXUkFK5AFb16FgiU2cE2bNF7nF1Vbz6v2bL3g1vlBhCOzvTYBbBijaeZpdgMDjlXcPoweqzvB3La4RKVDDD8lD51UNp3jurqcZquhTWdZys431tvORtQTISzR3xy6/AlsQzcSSr7lKBwmcKbF6ajct/D2oulqrxaBrbYqlZRe3a+FowjDgHVDjd9n+56m7+p25JoA+blkwhsfW22QzTDPhnq6Lx72c43L4WzU+rVJ3s5Hm8GScDfCdNY25ooaoF1HXs10Qra9/w5E6asoTIEuzs0Op4PNdtSqJ6RN87YKIC2iHnDFeerTJIP8uvDx3zx/i99781KcKQb/goIjMrJEGSQUGPMLwLxkB24o2/DChflVbbq5//rb66Iu6ZETxeRoHPQIO+z3wNGdbRB8ZP5jHpkgbKEKgt48ubila1TtN0+Bl4ASyYmzc4eFnsJD8D6ojAghYyNL1dyYZ9G2eJEseztehs6kiU6DljezwNCfWN/jx38dDQ8wAPWMrstfxV8CkD2ko=
\ No newline at end of file
+GN97w82LH/JVoXcdBtIzlcbBFpvJ7jexp/DRjL3k15jhYshHCALaOOk3NUHYdKaymJdc8zgMbCCEX+G/np0T0dM92qoggrRRtsyZDTlidkUPRBXMuLvXSlLHurZAN3DlN8Ym9VzQ+Psn5vgsDcRyiWGVf+yrw+8j09qtQleIIJQyglOq2rX7wZN7Yd8TqzWfUo9dLrZVC1CHiq5bZx2ka14acUuMQA+XZ3VuNwVnm7sg7O6mZwDDpOc/AkjjzmRMxiSrlCX3zqvIc2rmNpPI9pO1i7ZjnY6gjYVzG8ycD04GK5CC8ix3fW8YPZGL1sp13JJ/nuLv5mYhgzhh9MuooFBQ9f5PiyvxCvUwda8n8ysWDoctv5GkuoR9fg46wdrYZTHLCI7LNS5md6p+R0roTgRBx1ty+5swujdNa4Ri11LrCKcAU0ICIlrE28nLtBuaO3Rthla0ABIVRYgiQTwavXjw7P5ifyuF9JreUyTbIFSnU0Ih2txr0pdmx2K3reZXWkUKOSYlTTtsNWl5sJaT1l0bKY4EG1j4AHTY0GYPhOuqxkyW77OMgmC5XeQDRfduSxQWJT8dyWVcPINbxBB9yFFJoCTTdOsFlEK5hKV6MUf+3o1PZcecTapBnF7OdWC1X3bS/W/U4MhbkQfqfV6lIiAdNK/HsnzCGzCZN9racok=
\ No newline at end of file
diff --git a/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py b/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py
index 66e30b831..14705e0fd 100644
--- a/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py
+++ b/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py
@@ -9,16 +9,30 @@
from uds import tools # type: ignore
from uds.tunnel import forward # type: ignore
-remoteViewer = '/Applications/RemoteViewer.app/Contents/MacOS/RemoteViewer'
+remoteViewerPaths = [
+ '/Applications/RemoteViewer.app/Contents/MacOS/RemoteViewer',
+ '/opt/homebrew/bin/remote-viewer',
+ '/usr/local/bin/remote-viewer',
+]
-if not os.path.isfile(remoteViewer):
+remoteViewer = None
+for path in remoteViewerPaths:
+ if os.path.isfile(path):
+ remoteViewer = path
+ break
+
+if not remoteViewer:
raise Exception(
'''
You need to have installed virt-viewer to connect to this UDS service.
Please, install appropriate package for your system.
- Open download page
+ You can install it via Homebrew:
+ brew install virt-viewer
+
+ Or download it from MacPorts.
Please, note that in order to UDS Connector to work correctly, you must copy the Remote Viewer app to your Applications Folder.
diff --git a/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py.signature b/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py.signature
index 0862cbc90..24e77eff3 100644
--- a/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py.signature
+++ b/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py.signature
@@ -1 +1 @@
-BiMXqnn9XTSuqJcwc/TbnRK9WljlbwBQ3kBTnWVkco8sO5y+qeHgoobLu9OQ4qmWi2+YLLBzP+1j0UMFvMl0M+ErL+/rcKnflb2JXzvNlJSB9Ei9S0RmnyWTvyGoUBIUCz5hXuSry2FDw+PwTIQ3S5KnGBJxEB8rriIsKK6o/G9r6mmQ9P1929uud/kqpbyHyBktzONt/oV9N1e54ZACuSPDhkv3aLDe4PlbgPnIdtXNTXcr+gvDajuA8WBaCy2dp6SV43U5DK7IsWZuc1WOLZ6cxtS/RfsfsEJilrDQPJehK3Pg8paL+AIFC+cYju274zyZW4VGUJE3VE69IB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