Skip to content

Instantly share code, notes, and snippets.

@knowlet
Created March 11, 2025 06:51
Show Gist options
  • Save knowlet/eb2f0501b04f0c50eae5bfdd182d665c to your computer and use it in GitHub Desktop.
Save knowlet/eb2f0501b04f0c50eae5bfdd182d665c 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