As per the “install” post, this is also executed via Addigy Smart Software.
#====app_exists====#
checkFilePath="/Applications/Vectorworks 2025/Vectorworks 2025.app"
if [ -e "$checkFilePath" ]; then
echo "File $checkFilePath exists"
else
echo "File $checkFilePath does not exist"
exit 1
fi
#====process_not_running====#
processName="Vectorworks"
if ps axco comm | grep -q "$processName"; then
echo "Process $processName running"
exit 1
else
echo "Process $processName not running"
fi
#====update_available====#
update=$('/Applications/Vectorworks 2025/Vectorworks 2025 Install Manager.app/Contents/Resources/cli.sh' check-simple)
if [ "$update" = "1" ]; then
exit 0
else
echo "no update available..."
exit 1
fi
# Create a timestamp
timestamp=$(date "+%Y-%m-%d_%H-%M")
update_dir="/path/to/folder/$timestamp"
mkdir -p "$update_dir"
# Download the latest updater to that directory
"/Applications/Vectorworks 2025/Vectorworks 2025 Install Manager.app/Contents/Resources/cli.sh" download-latest-updater -p m "$update_dir"
# Move into the updater directory
cd "$update_dir"
# Find the downloaded zip file
zip_file=( *.zip )
# Extract silently to the application directory
if [[ -e "${zip_file}" ]]; then
unzip -oqq "${zip_file}" -d "/Applications/Vectorworks 2025"
else
echo "zip file not found"
exit 1
fi
cat < "/path/to/folder/vw2025_update_script.sh"
#!/bin/bash
# Exit script on any error
set -e
# Run as AddigySSH user
su AddigySSH -c '
# Apply the update with elevated privileges
"/Applications/Vectorworks 2025/Vectorworks 2025 Install Manager.app/Contents/Resources/cli.sh" update \\
--installdir "/Applications/Vectorworks 2025" \\
--serial "xxxxx-...."
'
EOF
# Make the script executable
chmod +x "/path/to/folder/vw2025_update_script.sh"
# Run the script
sh "/path/to/folder/vw2025_update_script.sh"
# Check and update permissions
if [ -d '/Applications/Vectorworks 2025/Libraries' ]; then
chmod -R 0777 '/Applications/Vectorworks 2025/Libraries'
fi
TIP > Permissions have to be spot on everywhere for this to work.
macinteract Pty. Ltd. | ABN 44 155 154 653 | terms and legal. | © 2025
We use cookies to keep things running smoothly and help us improve—no secrets here!
Please select which cookies we can use. You can change your mind whenever you like!
Websites store cookies to enhance functionality and personalise your experience. You can manage your preferences, but blocking some cookies may impact site performance and services.
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com