From eb344492968c1abb7374ee4b9f2fe0cd215010bd Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 7 Aug 2026 21:11:22 +0200 Subject: [PATCH] Fix OpenCore display resolution configuration --- src/boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot.sh b/src/boot.sh index aa86c2a9..06ca37a7 100644 --- a/src/boot.sh +++ b/src/boot.sh @@ -215,7 +215,7 @@ configureOpenCorePlist() { sed -r -i -e 's|iMac19,1|'"${MODEL}"'|g' "$CFG" sed -r -i -e 's|W00000000001|'"${SN}"'|g' "$CFG" sed -r -i -e 's|M0000000000000001|'"${MLB}"'|g' "$CFG" - sed -r -i -e 's|1920x1080@32|'"${resolution}"'|g' "$CFG" + sed -i '/Resolution<\/key>/{n;s|[^<]*|'"${resolution}"'|;}' "$CFG" sed -r -i -e 's|00000000-0000-0000-0000-000000000000|'"${UUID}"'|g' "$CFG" # Show boot picker if requested