From 308f4dfb2cccca9205443d44c1893db169759b7e Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 19 May 2024 09:18:35 +0200 Subject: [PATCH] Update define.sh --- src/define.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/define.sh b/src/define.sh index 2460b20..72a96f1 100644 --- a/src/define.sh +++ b/src/define.sh @@ -1983,7 +1983,7 @@ configXP() { local password="*" [ -n "$USERNAME" ] && username="$USERNAME" [ -n "$PASSWORD" ] && password="$PASSWORD" - + find "$target" -maxdepth 1 -type f -iname winnt.sif -exec rm {} \; { echo "[Data]" @@ -2043,8 +2043,8 @@ configXP() { echo "AllowConnections=1" echo "" echo "[GuiRunOnce]" - echo "%SystemRoot%\notepad.exe" - echo "%SystemRoot%\system32\reg.exe add \"HKEY_CURRENT_USER\Control Panel\Desktop\" /v ScreenSaveActive /t REG_SZ /d 0 /f" + echo "Command0=\"reg add HKCU\Control Panel\Desktop /v ScreenSaveActive /t REG_SZ /d 0 /f\"" + echo "Command1=\"%SystemRoot%\notepad.exe\"" } | unix2dos > "$target/WINNT.SIF" { echo "Windows Registry Editor Version 5.00"