Browse Source

adding linux/osx repo script

pixelbath 1 year ago
parent
commit
1fcf4bea63
1 changed files with 9 additions and 0 deletions
  1. 9 0
      _setup-folder.sh

+ 9 - 0
_setup-folder.sh

@@ -0,0 +1,9 @@
+#!/bin/sh
+# this will link the TIC-80\repo folder to this folder (wherever this is).
+
+if [ ! -L "$DIRECTORY" ]; then
+  ln -s "$(pwd)" ~/Library/Application\ Support/com.nesbox.tic/TIC-80/repo
+  echo Link created. Access /repo in TIC-80 to view these repository files.
+else
+  echo Link already exists. Access /repo in TIC-80 to view these repository files.
+fi