Skip to content

Instantly share code, notes, and snippets.

@toots
Created December 1, 2019 17:04
Show Gist options
  • Save toots/163867393ff91730eadcde4beddc2926 to your computer and use it in GitHub Desktop.
Save toots/163867393ff91730eadcde4beddc2926 to your computer and use it in GitHub Desktop.
#!/bin/sh
SYSTEM=$1
CMD=$2
ARG=$3
if test "${SYSTEM}" = "mingw"; then
wine $CMD $ARG
elif test "${SYSTEM}" = "mingw64"; then
wine64 $CMD $ARG
else
$CMD $ARG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment