summaryrefslogtreecommitdiff
path: root/emulators/linux-ePSXe/files/epsxe
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/linux-ePSXe/files/epsxe')
-rw-r--r--emulators/linux-ePSXe/files/epsxe15
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/linux-ePSXe/files/epsxe b/emulators/linux-ePSXe/files/epsxe
new file mode 100644
index 000000000000..b50f5f52c02a
--- /dev/null
+++ b/emulators/linux-ePSXe/files/epsxe
@@ -0,0 +1,15 @@
+#!/bin/sh
+# epsxe - ePSXe launcher
+#
+# (c) 2002-2003 Jean-Yves Lefort.
+# All rights reserved.
+
+USERDIR=$HOME/.epsxe
+
+if [ ! -x $USERDIR/epsxe ]; then
+ echo "$USERDIR/epsxe not found or not executable."
+ echo "You should run epsxe-install."
+ exit 1
+fi
+
+cd $USERDIR && exec ./epsxe "$@"