Created
March 11, 2025 06:51
-
-
Save knowlet/eb2f0501b04f0c50eae5bfdd182d665c to your computer and use it in GitHub Desktop.
Unlimited CrossOver Trial (macOS)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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