Skip to content

Commit

Permalink
Update $haZZam.cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacline authored Dec 13, 2022
1 parent d1b6a14 commit 6563ed4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion $haZZam.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ IF "%WIM_SOURCE_IMAGE%"=="-SELECT-" SET "WIM_DESC_IMAGE=NULL"&&SET "WIM_INDEX_IM
IF NOT "%WIM_SOURCE_IMAGE%"=="-SELECT-" IF "%WIM_INDEX_IMAGE%"=="NULL" SET "WIM_INDEX_IMAGE=1"
IF NOT "%PROG_MODE%"=="RAMDISK" IF NOT EXIST "%PROG_SOURCE%\BOOT-MEDIA.SAV" SET "BOOT_IMAGE=NONE"
IF NOT "%PROG_MODE%"=="RAMDISK" IF EXIST "%PROG_SOURCE%\BOOT-MEDIA.SAV" SET "BOOT_IMAGE=%PROG_SOURCE%\BOOT-MEDIA.SAV"
IF EXIST "%TEMP%\$WIM.TMP" DEL /Q /F "\\?\%TEMP%\$WIM.TMP">NUL 2>&1
IF "%PROG_MODE%"=="RAMDISK" SET "BOOT_IMAGE=U:\$.WIM"
EXIT /B
:FOLDER_MODE
Expand Down Expand Up @@ -1792,7 +1793,7 @@ COPY /Y "%PROG_FOLDER%\$haZZam.CMD" "\\?\S:\$">NUL 2>&1
:BOOT_CLEANUP
ECHO UNMOUNTING EFI...&&CALL:TITLECARD_NML&&CALL:VDISK_DETACH>NUL 2>&1
CALL:EFI_UNMOUNT>NUL 2>&1
IF EXIST "%TEMP%\$.WIM" DEL /Q /F "\\?\%TEMP%\$.WIM">NUL 2>&1
IF EXIST "%TEMP%\$WIM.TMP" DEL /Q /F "\\?\%TEMP%\$WIM.TMP">NUL 2>&1
IF EXIST "%TEMP%\$haZZam" RD /S /Q "\\?\%TEMP%\$haZZam">NUL 2>&1
IF EXIST "%TEMP%\DISK_PART" DEL /Q /F "%TEMP%\DISK_PART">NUL 2>&1
IF EXIST "%TEMP%\DISK_TARGET" DEL /Q /F "%TEMP%\DISK_TARGET">NUL 2>&1
Expand Down

0 comments on commit 6563ed4

Please sign in to comment.