]> git.saurik.com Git - winterboard.git/blobdiff - Test.sh
Add the new @3x 29x29 and 60x60 icon from Surenix.
[winterboard.git] / Test.sh
diff --git a/Test.sh b/Test.sh
index 72874272e37c256139114167666a7292d401e446..df147555fa6f303617f4cf331eaaddb4c6ccf23a 100755 (executable)
--- 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