Skip to content

Instantly share code, notes, and snippets.

View rui-ferreira's full-sized avatar

Rui Ferreira rui-ferreira

View GitHub Profile
@santaklouse
santaklouse / CrossOver.sh
Last active June 26, 2024 15:00
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