summarylogtreecommitdiffstats
path: root/logic2010.sh
diff options
context:
space:
mode:
authorafontenot2016-12-20 11:02:42 -0800
committerafontenot2016-12-20 11:02:42 -0800
commitd34106b1545cfef83f33694cbf0f50f4174bad8e (patch)
tree904395ade2d8d0545e80afcea9b169867c31da0f /logic2010.sh
downloadaur-d34106b1545cfef83f33694cbf0f50f4174bad8e.tar.gz
initial commit
Diffstat (limited to 'logic2010.sh')
-rw-r--r--logic2010.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/logic2010.sh b/logic2010.sh
new file mode 100644
index 00000000000..56e77655ad4
--- /dev/null
+++ b/logic2010.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ ! -d "$HOME/.config/logic2010" ]; then
+ cp -r /opt/logic2010 $HOME/.config
+ mkdir -p $HOME/.config/logic2010/Contents/Resources
+ cp -al $HOME/.config/logic2010/* $HOME/.config/logic2010/Contents/Resources
+ mkdir $HOME/.config/logic2010/Contents/Java
+ ln $HOME/.config/logic2010/logic.jar $HOME/.config/logic2010/Contents/Java/
+fi
+
+cd $HOME/.config/logic2010
+java -Droot.dir="." -Dlink.dir="." -Dprog.dir="." -Dconfig.dir="." -jar logic.jar