Skip to content

Commit fb02a27

Browse files
committed
boot videos are now per-theme
1 parent 4e29d25 commit fb02a27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

static/trimui/app/MainUI

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
QUICKSAVE_CMD_TO_RUN="/mnt/SDCARD/Saves/quicksave_cmd_to_run.sh"
66
SAVED_MAINUI_STATE="/mnt/SDCARD/Saves/quicksave_mainui_state.json"
7-
BOOT_VIDEO="/mnt/SDCARD/System/etc/bootvideo.mp4"
7+
8+
THEME_PATH="$(awk -F'"' '/"theme":/ {print $4}' "/mnt/UDISK/system.json" | sed 's:/*$:/:')"
9+
BOOT_VIDEO="$THEME_PATH/bootvideo.mp4"
810

911
start_mainui() {
1012
cycle_usb_audio

0 commit comments

Comments
 (0)