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 "{}" + |
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
| sqlite3 $(sudo find /private/var/folders -name com.apple.dock.launchpad)/db/db "DELETE FROM apps WHERE title='App Name';" && killall Dock |