summaryrefslogtreecommitdiff
path: root/pcr/higan-qt/higan
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-22 10:52:18 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-22 10:52:18 -0400
commit908d987dd1dcd4899f8f7f0878514c22ca8048b7 (patch)
tree29bf5986774207c3453044e1f370fb98d2431265 /pcr/higan-qt/higan
parent308bfb446305a96dffce945b6c4fb82b10d1b91b (diff)
parent8351d69e64a40d68fa32cfeea227b6fcf7afe974 (diff)
downloadabslibre-908d987dd1dcd4899f8f7f0878514c22ca8048b7.tar.gz
abslibre-908d987dd1dcd4899f8f7f0878514c22ca8048b7.tar.bz2
abslibre-908d987dd1dcd4899f8f7f0878514c22ca8048b7.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/higan-qt/higan')
-rwxr-xr-xpcr/higan-qt/higan13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/higan-qt/higan b/pcr/higan-qt/higan
new file mode 100755
index 000000000..29fc0b7bb
--- /dev/null
+++ b/pcr/higan-qt/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 "$@"