]> git.saurik.com Git - winterboard.git/blobdiff - Test.sh
On iOS 9 sometimes they do not bother using names.
[winterboard.git] / Test.sh
diff --git a/Test.sh b/Test.sh
index 55409f89d46eadf520a4c82681f54faac2c9a414..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}' .
-rsync --exclude .svn -SPaz 'saurik@carrier.saurik.com:menes/winterboard/Nature/' /Library/Themes/com.saurik.WinterBoard.Nature
-#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