Skip to content

Instantly share code, notes, and snippets.

View gwsbhqt's full-sized avatar

gwsbhqt

  • ByteDance Ltd.
  • Hangzhou
  • 17:39 (UTC +08:00)
View GitHub Profile
@gwsbhqt
gwsbhqt / CrossOver.sh
Created October 12, 2025 14:33 — forked from santaklouse/CrossOver.sh
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