Skip to content

Commit

Permalink
[efi] leave .efi files in efi/boot/ uncompressed on NTFS
Browse files Browse the repository at this point in the history
* While compressed EFI bootloaders are not an issue for UEFI:NTFS, some UEFI firmwares
  embed an NTFS driver that doesn't support NTFS compression.
  To address that, also uncompress the EFI bootloaders on NTFS.
* Closes pbatard#1424
  • Loading branch information
sugoidogo authored and pbatard committed Jan 11, 2020
1 parent 5dce5fb commit 8672fee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/iso.c
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ BOOL ExtractISO(const char* src_iso, const char* dest_dir, BOOL scan)
fclose(fd);
} else if (HAS_BOOTMGR(img_report) && enable_ntfs_compression) {
// bootmgr might need to be uncompressed: https://github.com/pbatard/rufus/issues/1381
RunCommand("compact /u bootmgr bootmgr.efi", dest_dir, TRUE);
RunCommand("compact /u bootmgr* efi/boot/*.efi", dest_dir, TRUE);
}
}
if (p_iso != NULL)
Expand Down
10 changes: 5 additions & 5 deletions src/rufus.rc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 232, 326
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_ACCEPTFILES
CAPTION "Rufus 3.9.1592"
CAPTION "Rufus 3.9.1593"
FONT 9, "Segoe UI Symbol", 400, 0, 0x0
BEGIN
LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP
Expand Down Expand Up @@ -394,8 +394,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,9,1592,0
PRODUCTVERSION 3,9,1592,0
FILEVERSION 3,9,1593,0
PRODUCTVERSION 3,9,1593,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -413,13 +413,13 @@ BEGIN
VALUE "Comments", "https://rufus.ie"
VALUE "CompanyName", "Akeo Consulting"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "3.9.1592"
VALUE "FileVersion", "3.9.1593"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "� 2011-2019 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html"
VALUE "OriginalFilename", "rufus-3.9.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "3.9.1592"
VALUE "ProductVersion", "3.9.1593"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 8672fee

Please sign in to comment.