Skip to content

Commit 909eb4b

Browse files
committed
unpacker: display progress, kinda
now that our display program writes to fb directly we can display stuff before MainUI starts!
1 parent bfcf622 commit 909eb4b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

static/System/starts/1-archive-unpacker.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ fi
1717
echo "$ARCHIVES" | while IFS= read -r archive; do
1818
basename="$(basename "$archive")"
1919
log_message "Unpacker: unpacking archive $basename"
20+
display -t "Unpacking $basename"
2021
if ! unzip -o -d / "$archive"; then
2122
log_message "Unpacker: failed to unpack archive $basename"
23+
display -d 1000 -t "Failed to unpack $basename"
2224
else
2325
log_message "Unpacker: archive $basename unpacked successfully"
2426
rm -f "$archive"
2527
fi
2628
done > "$ARCHIVE_UNPACK_LOG" 2>&1
29+
30+
display -d 1000 -t "Archive unpacking complete"

0 commit comments

Comments
 (0)