diff options
author | Duck_Hunt | 2015-06-10 21:29:54 +1200 |
---|---|---|
committer | Duck_Hunt | 2015-06-10 21:29:54 +1200 |
commit | 35c37d986d62994a48cdcdba10599fa839730594 (patch) | |
tree | b2ff16242fe8d9b96568625bb8d704f4ef5f5fbc /bsnes | |
download | aur-35c37d986d62994a48cdcdba10599fa839730594.tar.gz |
Initial import
Diffstat (limited to 'bsnes')
-rw-r--r-- | bsnes | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bsnes b/bsnes new file mode 100644 index 000000000000..226f9d04c5df --- /dev/null +++ b/bsnes @@ -0,0 +1,9 @@ +#!/bin/sh + +# Check for profiles and prompt user with a GUI +[ -e /usr/bin/bsnes-accuracy ] && tag1=accuracy +[ -e /usr/bin/bsnes-compatibility ] && tag2=compatibility +profile="$(Xdialog --stdout --no-tags --title "bsnes-plus" --radiolist "Choose a profile" 0 0 "$tag1" "Accuracy" off "$tag2" "Compatibility" off)" + +# Launch selected profile +exec bsnes-$profile "$@"
\ No newline at end of file |