From 6b46082fbade4d8ec81e11ad098909cbaf4a56c0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 11 Jun 2023 03:29:30 +0100 Subject: [PATCH 1/2] updated brew-packages-desktop-casks.txt --- setup/brew-packages-desktop-casks.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/brew-packages-desktop-casks.txt b/setup/brew-packages-desktop-casks.txt index d5ddc96c..a867955b 100644 --- a/setup/brew-packages-desktop-casks.txt +++ b/setup/brew-packages-desktop-casks.txt @@ -26,3 +26,4 @@ powershell spotify vagrant virtualbox +vnc-viewer From a0b79033dad3057918b54d5340331dad83f57681 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 11 Jun 2023 03:37:42 +0100 Subject: [PATCH 2/2] updated vnc.sh --- .bash.d/vnc.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bash.d/vnc.sh b/.bash.d/vnc.sh index dfa87bbf..9ef900d2 100644 --- a/.bash.d/vnc.sh +++ b/.bash.d/vnc.sh @@ -23,6 +23,10 @@ # shellcheck disable=SC1090,SC1091 #. "$bash_tools/.bash.d/os_detection.sh" +if [ -d "/Applications/VNC Viewer.app/Contents/MacOS" ]; then + export PATH+=":/Applications/VNC Viewer.app/Contents/MacOS" +fi + vncwho() { netstat -tW | grep ".*:5900 .*:.*" |