Skip to content

Commit

Permalink
Check for websockfiy executable alongside vncserver executable
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Mar 30, 2024
1 parent 203e123 commit f723b87
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jupyter_remote_desktop_proxy/setup_websockify.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@


def setup_websockify():
websockify = which('websockify')
if not websockify:
raise RuntimeError(
"websockify executable not found, please install websockify"
)

vncserver = which('vncserver')
if not vncserver:
raise RuntimeError(
Expand Down

0 comments on commit f723b87

Please sign in to comment.