Skip to content

Run a virtual iPhone on an Apple Silicon Mac.

Swift

Fix marker creation using shell builtin instead of touch

Lakrc0fda232e044
diff --git a/scripts/cfw_install_jb_post.sh b/scripts/cfw_install_jb_post.sh
index de824744..1b13d8af 100755
--- a/scripts/cfw_install_jb_post.sh
+++ b/scripts/cfw_install_jb_post.sh
@@ -152,7 +152,7 @@ for marker in .procursus_strapped .installed_dopamine; do
if ssh_cmd "test -f /var/jb/$marker"; then
echo " [*] $marker already exists, skipping"
else
- ssh_cmd "touch /var/jb/$marker && chown 0:0 /var/jb/$marker && chmod 0644 /var/jb/$marker"
+ ssh_cmd ": > /var/jb/$marker && chown 0:0 /var/jb/$marker && chmod 0644 /var/jb/$marker"
echo " [+] $marker created"
fi
done