Add local Live Activity and Dynamic Island track display
This commit is contained in:
@@ -86,6 +86,13 @@ jobs:
|
||||
xcrun simctl launch "$SIMULATOR_ID" ru.yukinoki.musicbridge --preview-player --preview-large-text
|
||||
sleep 2
|
||||
xcrun simctl io "$SIMULATOR_ID" screenshot build/player-large-text-screen.png
|
||||
xcrun simctl terminate "$SIMULATOR_ID" ru.yukinoki.musicbridge
|
||||
xcrun simctl launch "$SIMULATOR_ID" ru.yukinoki.musicbridge --preview-player --preview-live-card
|
||||
sleep 2
|
||||
xcrun simctl io "$SIMULATOR_ID" screenshot build/live-card-dark-screen.png
|
||||
xcrun simctl ui "$SIMULATOR_ID" appearance light
|
||||
sleep 1
|
||||
xcrun simctl io "$SIMULATOR_ID" screenshot build/live-card-light-screen.png
|
||||
RUNTIME=$(python3 -c 'import json,os; d=json.load(open("/tmp/musicbridge-simulators.json")); print(next(k for k,v in d["devices"].items() if any(x["udid"]==os.environ["SIMULATOR_ID"] for x in v)))')
|
||||
COMPACT_ID=$(xcrun simctl create MusicBridge-Compact com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation "$RUNTIME")
|
||||
xcrun simctl bootstatus "$COMPACT_ID" -b
|
||||
|
||||
Reference in New Issue
Block a user