Islet/tools/film
astar76 c88455c759 Islet 0.7.6: a Dynamic Island for notched iPhones
SpringBoard tweak for the iPhone XR on iOS 18.7.1 (Dopamine rootless),
built without Theos using the swift.org clang and linked on the phone.

The island shows music with Apple's audio analyzer and live lyrics, timers,
calls, flashlight, screen recording, accessories and their batteries, calendar,
notifications with actions, and system popups, in portrait and landscape.
Includes a Settings page, a Watch ping hook, an offscreen self test and the
tools that capture the showcase video.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 19:03:58 -06:00

13 lines
1 KiB
Shell
Executable file

#!/bin/bash
# Captures the real island animations on the phone, in a throwaway process, to build/film. tools/film-edit.py makes the video.
# The film code is compiled in here only: packages never contain it. ISLET_FILM_SCENES=n stops after n scenes.
set -euo pipefail
cd "$(dirname "$0")/.."
KEY=${IPHONE_KEY:-$HOME/.ssh/iphone_key}; PH=${IPHONE:-mobile@192.168.1.94}; T=/var/jb/var/mobile/t
EXTRA_CFLAGS=-DISLET_FILM tools/build-arch arm64e dylib build/Islet-film.dylib src/Islet.m </dev/null
tools/build-arch arm64e exe build/loadtest-e tests/loadtest.m </dev/null
ssh -i "$KEY" "$PH" "rm -rf $T/film; mkdir -p $T/film" </dev/null
scp -q -i "$KEY" build/Islet-film.dylib build/loadtest-e "$PH:$T/" </dev/null
ssh -i "$KEY" "$PH" "cd $T && ldid -S Islet-film.dylib && ISLET_FILM_SCENES=${ISLET_FILM_SCENES:-99} ISLET_FILM=$T/film ./loadtest-e ./Islet-film.dylib 200; ls film | wc -l" </dev/null
rm -rf build/film; mkdir -p build/film
ssh -i "$KEY" "$PH" "tar -cf - -C $T film; rm -rf $T/film" </dev/null | tar -xf - -C build