mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
Update install.sh
This commit is contained in:
parent
2f09da506c
commit
53031772ac
1 changed files with 6 additions and 5 deletions
|
|
@ -616,12 +616,13 @@ updateXML() {
|
||||||
|
|
||||||
local asset="$1"
|
local asset="$1"
|
||||||
local language="$2"
|
local language="$2"
|
||||||
local vertical="720"
|
local x y culture region user admin pass keyboard
|
||||||
local horizontal="1280"
|
|
||||||
local culture region user admin pass keyboard
|
|
||||||
|
|
||||||
sed -i "s/<VerticalResolution>1080<\/VerticalResolution>/<VerticalResolution>$vertical<\/VerticalResolution>/g" "$asset"
|
[ -n "$YRES" ] && y="$YRES" || y="720"
|
||||||
sed -i "s/<HorizontalResolution>1920<\/HorizontalResolution>/<HorizontalResolution>$horizontal<\/HorizontalResolution>/g" "$asset"
|
[ -n "$XRES" ] && x="$XRES" || x="1280"
|
||||||
|
|
||||||
|
sed -i "s/<VerticalResolution>1080<\/VerticalResolution>/<VerticalResolution>$y<\/VerticalResolution>/g" "$asset"
|
||||||
|
sed -i "s/<HorizontalResolution>1920<\/HorizontalResolution>/<HorizontalResolution>$x<\/HorizontalResolution>/g" "$asset"
|
||||||
|
|
||||||
culture=$(getLanguage "$language" "culture")
|
culture=$(getLanguage "$language" "culture")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue