summarylogtreecommitdiffstats
path: root/stencyl
diff options
context:
space:
mode:
Diffstat (limited to 'stencyl')
-rw-r--r--stencyl16
1 files changed, 16 insertions, 0 deletions
diff --git a/stencyl b/stencyl
new file mode 100644
index 000000000000..e36d61a11900
--- /dev/null
+++ b/stencyl
@@ -0,0 +1,16 @@
+#!/bin/sh
+LOCAL="$HOME/.local/share/stencyl"
+if [ ! -d "$LOCAL" ]; then
+ mkdir -p "$LOCAL"
+
+ cd /usr/share/stencyl
+ for f in *; do
+ ln -s /usr/share/stencyl/"$f" "$LOCAL/$f"
+ done
+
+ rm -f "$LOCAL/games"
+ mkdir -p "$LOCAL/games"
+fi
+
+cd "$LOCAL"
+exec ./Stencyl "$@" \ No newline at end of file