feat: Use the engine variable

This commit is contained in:
Kroese 2025-10-07 12:20:57 +02:00 committed by GitHub
parent 53646bc349
commit 62eb47ca6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -759,6 +759,7 @@ updateXML() {
[ -z "$HEIGHT" ] && HEIGHT="720"
[ -z "$WIDTH" ] && WIDTH="1280"
sed -i "s/>Windows for Docker</>$APP for $ENGINE</g" "$asset"
sed -i "s/<VerticalResolution>1080<\/VerticalResolution>/<VerticalResolution>$HEIGHT<\/VerticalResolution>/g" "$asset"
sed -i "s/<HorizontalResolution>1920<\/HorizontalResolution>/<HorizontalResolution>$WIDTH<\/HorizontalResolution>/g" "$asset"