Skip to content

Instantly share code, notes, and snippets.

View victorwads's full-sized avatar

Victor Wads victorwads

View GitHub Profile
@santaklouse
santaklouse / CrossOver.sh
Last active April 28, 2024 19:49
unlimited CrossOver trial (MacOS)
#!/usr/bin/env bash
# checck if pidof exists
PIDOF="$(which pidof)"
# and if not - install it
(test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof
# find app in default paths
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS
test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS