From: Jay Freeman (saurik) Date: Mon, 13 Jan 2014 16:44:21 +0000 (-0800) Subject: The old test.sh was for Telesphoreo: I hate OS X. X-Git-Tag: v0.9.3915~6 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/3141a309fb6f5bf2fa63bb34ba59dbb4aad8f9fb The old test.sh was for Telesphoreo: I hate OS X. --- diff --git a/Test.sh b/Test.sh index 7287427..df14755 100755 --- a/Test.sh +++ b/Test.sh @@ -1,6 +1,17 @@ #!/bin/bash -rm -f WinterBoard.dylib set -e -rsync --exclude .svn -SPaz 'saurik@carrier.saurik.com:menes/winterboard/{WinterBoard{,.dylib},UIImages}' . -rsync --exclude .svn -SPaz 'saurik@carrier.saurik.com:menes/winterboard/*.theme' /Library/Themes/ -#killall SpringBoard + +ip=$1 +app=$2 + +if [[ -z $ip ]]; then + exit 1; +fi + +make package +scp -p winterboard.deb root@"$ip": +ssh root@"$ip" dpkg -i winterboard.deb + +if [[ -n $app ]]; then + ssh root@"$ip" killall "$app" +fi