Tip: Update MacOS host client app
I found the manual way of updating the ScreenConnect Client.app host agent software poorly documented, so I wrote a small shell script to do it for you:
this script searches for the currently installed app and replaces it with the current version. Replace "screenconnect.example.com" below with the FQDN or IP of your ScreenConnect server!!! #!/bin/sh # Update ScreenConnect Agent Client on MacOS - Run as User tmpdir=~/Downloads URL="https://screenconnect.example.com/Bin/ScreenConnect.Client.zip" zip="ScreenConnect.Client.zip" # Find current installation app=$(mdfind kMDItemCFBundleIdentifier="com.screenconnect.client") base=$(dirname "${app}") # Remove current version test -d "${app}" && trash "${app}" rm -f "${tmpdir}/${zip}" # Download new version curl -o "${tmpdir}/${zip}" -J -s -S "${URL}" || exit $? # Unzip new version into previous install location and restore attributes unzip -qod "${base:-/Applications/}" "${tmpdir}/${zip}" dot_clean "${app}" echo "Done."