Skip to content

Commit

Permalink
feat: Use custom config.plist for sequoia
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Dec 20, 2024
1 parent 470a0e7 commit e0739c1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,17 @@ if [ ! -f "$IMG" ]; then
mcopy -bspmQ -i "$ISO@@${START}S" ::EFI "$OUT"

CFG="$OUT/EFI/OC/config.plist"
cp /config.plist "$CFG"

case "${VERSION,,}" in
"sequoia" | "15"* )
PLIST="/assets/sequoia.plist" ;;
* )
PLIST="/assets/default.plist" ;;
esac

[ -f "/config.plist" ] && PLIST="/config.plist"

cp "$PLIST" "$CFG"

ROM="${MAC//[^[:alnum:]]/}"
ROM="${ROM,,}"
Expand Down

0 comments on commit e0739c1

Please sign in to comment.