diff --git a/src/iso.c b/src/iso.c index a50ff1a4..81f5dd4d 100644 --- a/src/iso.c +++ b/src/iso.c @@ -75,7 +75,9 @@ static const char* efi_dirname = "/efi/boot"; static const char* efi_bootname[] = { "bootia32.efi", "bootia64.efi", "bootx64.efi", "bootarm.efi", "bootaa64.efi" }; static const char* install_wim_path = "/sources"; static const char* install_wim_name[] = { "install.wim", "install.swm" }; -static const char* grub_dirname = "/boot/grub"; // NB: We don't support nonstandard config dir such as AROS' "/boot/pc/grub/" +// We only support GRUB/BIOS (x86) that uses a standard config dir (/boot/grub/i386-pc/) +// If the disc was mastered properly, GRUB/EFI will take care of itself +static const char* grub_dirname = "/boot/grub/i386-pc"; static const char* grub_cfg = "grub.cfg"; static const char* syslinux_cfg[] = { "isolinux.cfg", "syslinux.cfg", "extlinux.conf" }; static const char dot_isolinux_bin[] = ".\\isolinux.bin"; @@ -156,9 +158,9 @@ static BOOL check_iso_props(const char* psz_dirname, int64_t i_file_length, cons props->is_old_c32[i] = TRUE; } - // Check for the Grub config file + // Check for GRUB artifacts if (scan_only) { - if ((safe_stricmp(psz_dirname, grub_dirname) == 0) && (safe_stricmp(psz_basename, grub_cfg) == 0)) + if (safe_stricmp(psz_dirname, grub_dirname) == 0) img_report.has_grub2 = TRUE; } else if (safe_stricmp(psz_basename, grub_cfg) == 0) { props->is_grub_cfg = TRUE; diff --git a/src/rufus.rc b/src/rufus.rc index 95578d71..59bc1e67 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 242, 376 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Rufus 2.10.959" +CAPTION "Rufus 2.10.960" FONT 8, "Segoe UI Symbol", 400, 0, 0x0 BEGIN LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8 @@ -320,8 +320,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,10,959,0 - PRODUCTVERSION 2,10,959,0 + FILEVERSION 2,10,960,0 + PRODUCTVERSION 2,10,960,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -338,13 +338,13 @@ BEGIN BEGIN VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "2.10.959" + VALUE "FileVersion", "2.10.960" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2016 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "OriginalFilename", "rufus.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "2.10.959" + VALUE "ProductVersion", "2.10.960" END END BLOCK "VarFileInfo"