Skip to content

Instantly share code, notes, and snippets.

@hunterMG
Forked from knowlet/crossover.sh
Created June 3, 2026 14:21
Show Gist options
  • Select an option

  • Save hunterMG/4e58be3b70c012531ccd2b82ddc8698c to your computer and use it in GitHub Desktop.

Select an option

Save hunterMG/4e58be3b70c012531ccd2b82ddc8698c to your computer and use it in GitHub Desktop.
Unlimited CrossOver Trial (macOS)
echo "🧹 Resetting CrossOver bottles..."
pkill CrossOver && echo "βœ… CrossOver processes killed."
echo "πŸ•’ Modifying trial timestamps..."
DATETIME=$(date -u -v -3H '+%Y-%m-%dT%TZ')
echo "βœ… New trial date set to: ${DATETIME}"
defaults write com.codeweavers.CrossOver FirstRunDate -date "${DATETIME}"
defaults write com.codeweavers.CrossOver SULastCheckTime -date "${DATETIME}"
echo "βœ… Updated trial timestamps in preferences."
echo "🧹 Resetting CrossOver bottles..."
find ~/Library/Application\ Support/CrossOver/Bottles/ -type f \( -name ".eval" -o -name ".update-timestamp" \) -exec rm -f "{}" +
find ~/Library/Application\ Support/CrossOver/Bottles/ -type f \( -name "system.reg" \) -exec sed -i '' '/cxoffice/{N;N;N;N;d;}' "{}" \;
echo "πŸŽ‰ Script completed successfully! CrossOver trial extended."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment