diff options
author | root <root@rshg054.dnsready.net> | 2013-02-14 00:04:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-14 00:04:52 -0800 |
commit | 0bf564cf7a3d99207457267c75f92ceb67197537 (patch) | |
tree | 92c12891df8b8cc45a54b34413ecba167599bed5 /community/higan-gtk/higan | |
parent | 0671250710c3e7312a4693ac45ebbaacf471d1dc (diff) |
Thu Feb 14 00:04:51 PST 2013
Diffstat (limited to 'community/higan-gtk/higan')
-rwxr-xr-x | community/higan-gtk/higan | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/higan-gtk/higan b/community/higan-gtk/higan new file mode 100755 index 000000000..29fc0b7bb --- /dev/null +++ b/community/higan-gtk/higan @@ -0,0 +1,13 @@ +#!/bin/sh + +# Shared folders workaround +cp -ru /usr/share/higan ~/.config/ + +# Check for profiles and prompt user with a GUI +[ -e /usr/bin/higan-accuracy ] && tag1=accuracy +[ -e /usr/bin/higan-balanced ] && tag2=balanced +[ -e /usr/bin/higan-performance ] && tag3=performance +profile="$(Xdialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)" + +# Launch selected profile +exec higan-$profile "$@" |