Skip to content

Commit

Permalink
DO NOT MERGE
Browse files Browse the repository at this point in the history
DO NOT MERGE
  • Loading branch information
wjt committed Oct 23, 2017
1 parent 06e8a2b commit 7c2af78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/endless/EndlessUsbToolDlg.cpp
Expand Up @@ -4013,7 +4013,7 @@ DWORD WINAPI CEndlessUsbToolDlg::FileVerificationThread(void* param)
}

verificationResult = true;
while (!verifyFiles.empty()) {
while (false && !verifyFiles.empty()) {
auto &p = verifyFiles.front();
const CString &filePath = p.filePath;
const CString &sigPath = p.sigPath;
Expand Down Expand Up @@ -4725,7 +4725,7 @@ DWORD WINAPI CEndlessUsbToolDlg::CreateUSBStick(LPVOID param)

// Unpack boot components
errorCause = ErrorCauseCantUnpackBootZip;
IFFALSE_GOTOERROR(UnpackBootComponents(dlg->m_bootArchive, bootFilesPath), "Error unpacking boot components.");
// IFFALSE_GOTOERROR(UnpackBootComponents(dlg->m_bootArchive, bootFilesPath), "Error unpacking boot components.");

UpdateProgress(OP_NEW_LIVE_CREATION, USB_PROGRESS_UNPACK_BOOT_ZIP);
CHECK_IF_CANCELLED;
Expand Down Expand Up @@ -4850,7 +4850,7 @@ DWORD WINAPI CEndlessUsbToolDlg::CreateUSBStick(LPVOID param)
IFFALSE_PRINTERROR(AltUnmountVolume(espDriveLetter), "Failed to unmount ESP");
}

RemoveNonEmptyDirectory(bootFilesPath);
//RemoveNonEmptyDirectory(bootFilesPath);
safe_unlockclose(hLogicalVolume);
safe_unlockclose(hPhysical);
dlg->PostMessage(WM_FINISHED_ALL_OPERATIONS, 0, 0);
Expand Down Expand Up @@ -5174,7 +5174,7 @@ bool CEndlessUsbToolDlg::CopyFilesToexFAT(CEndlessUsbToolDlg *dlg, const CString
CEndlessUsbToolDlg::ImageUnpackPercentEnd = USB_PROGRESS_IMG_COPY_DONE;
CEndlessUsbToolDlg::ImageUnpackFileSize = dlg->m_selectedFileSize;

IFFALSE_GOTOERROR(dlg->UnpackImage(dlg->m_localFile, usbFilesPath + ENDLESS_IMG_FILE_NAME), "Error unpacking image to USB drive");
// IFFALSE_GOTOERROR(dlg->UnpackImage(dlg->m_localFile, usbFilesPath + ENDLESS_IMG_FILE_NAME), "Error unpacking image to USB drive");
IFFALSE_GOTOERROR(0 != CopyFile(dlg->m_unpackedImageSig, usbFilesPath + CSTRING_GET_LAST(dlg->m_unpackedImageSig, '\\'), FALSE), "Error copying image signature file to drive.");

FILE *liveFile;
Expand Down

0 comments on commit 7c2af78

Please sign in to comment.