Update define.sh

This commit is contained in:
Kroese 2024-05-26 04:52:20 +02:00 committed by GitHub
parent c59dda2931
commit 09643cef43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2150,7 +2150,7 @@ prepareXP() {
if [ -f "$file" ]; then if [ -f "$file" ]; then
unix2dos -q "$file" unix2dos -q "$file"
oem="start \"Install\" \"cmd /C C:\OEM\install.bat\"" oem="start \\\"Install\\\" \\\"cmd /C C:\OEM\install.bat\\\""
fi fi
fi fi
@ -2158,7 +2158,7 @@ prepareXP() {
{ echo "[COMMANDS]" { echo "[COMMANDS]"
echo "\"REGEDIT /s install.reg\"" echo "\"REGEDIT /s install.reg\""
echo "\"Wscript admin.vbs\"" echo "\"Wscript admin.vbs\""
echo "$oem" echo "\"$oem\""
echo "" echo ""
} | unix2dos > "$dir/\$OEM\$/cmdlines.txt" } | unix2dos > "$dir/\$OEM\$/cmdlines.txt"