Skip to content

Commit

Permalink
Create createTweak.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
S3Jensen committed May 13, 2014
1 parent d81a108 commit de6563d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions createTweak.sh
@@ -0,0 +1,23 @@
#!/bin/sh

tweak=$1
packageName=$2
projectName=$3
author=$4
bundleID=$5

/var/theos/bin/nic.pl <<EOF
$tweak
$packageName
$projectName
$author
$bundleID
EOF



if [ -d "/$projectName" ]; then
mv "/$projectName" "/Applications/iRE.app/tweaks/$AppID/$projectName"
elif [ -d "/Applications/iRE.app/$projectName" ]; then
mv "/Applications/iRE.app/$projectName" "/Applications/iRE.app/tweaks/$AppID/$projectName"
fi

0 comments on commit de6563d

Please sign in to comment.