diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-07 00:46:34 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-07 00:46:34 -0400 |
commit | 619b8d955269f2fe74386e98fac07675c8b55352 (patch) | |
tree | f3e2610a39c99a7e43bc2b345280b04e398b986a /pcr/higan-gtk/higan | |
parent | 2b04539ac9310541a4e563460aed0cb7715770d2 (diff) | |
parent | 7d4e98b2d6f2fd4d42ebb55105bab8a05e34ab94 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/higan-gtk/higan')
-rwxr-xr-x | pcr/higan-gtk/higan | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/higan-gtk/higan b/pcr/higan-gtk/higan new file mode 100755 index 000000000..29fc0b7bb --- /dev/null +++ b/pcr/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 "$@" |