Skip to content

Commit 95ef200

Browse files
authored
Update install.sh
1 parent 89f6eb6 commit 95ef200

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,11 +620,11 @@ updateXML() {
620620
local language="$2"
621621
local culture region user admin pass keyboard
622622

623-
[ -z "$YRES" ] && YRES="720"
624-
[ -z "$XRES" ] && XRES="1280"
623+
[ -z "$HEIGHT" ] && HEIGHT="720"
624+
[ -z "$WIDTH" ] && WIDTH="1280"
625625

626-
sed -i "s/<VerticalResolution>1080<\/VerticalResolution>/<VerticalResolution>$YRES<\/VerticalResolution>/g" "$asset"
627-
sed -i "s/<HorizontalResolution>1920<\/HorizontalResolution>/<HorizontalResolution>$XRES<\/HorizontalResolution>/g" "$asset"
626+
sed -i "s/<VerticalResolution>1080<\/VerticalResolution>/<VerticalResolution>$HEIGHT<\/VerticalResolution>/g" "$asset"
627+
sed -i "s/<HorizontalResolution>1920<\/HorizontalResolution>/<HorizontalResolution>$WIDTH<\/HorizontalResolution>/g" "$asset"
628628

629629
culture=$(getLanguage "$language" "culture")
630630

0 commit comments

Comments
 (0)