]> 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 e8e48d95e6049e411bf4f142f5d6961ac3dfe74a..df147555fa6f303617f4cf331eaaddb4c6ccf23a 100755 (executable)
--- a/Test.sh
+++ b/Test.sh
@@ -1,5 +1,17 @@
 #!/bin/bash
-rm -f WinterBoard.dylib
 set -e
-rsync -SPaz 'saurik@carrier.saurik.com:menes/winterboard/WinterBoard{,.dylib}' .
-#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