fix: Legacy OEM script launch quoting (#2091)

This commit is contained in:
Kroese
2026-08-07 04:54:58 +02:00
committed by GitHub
parent ef783b900b
commit 976c22fcc2
+2 -2
View File
@@ -2440,9 +2440,9 @@ writeCommand() {
[ -f "$install" ] || return 0 [ -f "$install" ] || return 0
if enabled "${LOG:-}"; then if enabled "${LOG:-}"; then
printf '%s' "\"Script\"=\"cmd /C start \\\"Install\\\" \\\"cmd /C C:\\\\OEM\\\\install.bat > C:\\\\OEM\\\\install.log 2>&1\\\"\"" printf '%s' "\"Script\"=\"cmd /C start \\\"Install\\\" cmd.exe /D /C \\\"\\\"C:\\\\OEM\\\\install.bat\\\" > \\\"C:\\\\OEM\\\\install.log\\\" 2>&1\\\"\""
else else
printf '%s' "\"Script\"=\"cmd /C start \\\"Install\\\" \\\"cmd /C C:\\\\OEM\\\\install.bat\\\"\"" printf '%s' "\"Script\"=\"cmd /C start \\\"Install\\\" cmd.exe /D /C \\\"\\\"C:\\\\OEM\\\\install.bat\\\"\\\"\""
fi fi
return 0 return 0