exclude testing codes

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2022-03-13 08:47:07 +03:00
parent 7f87e8cc8c
commit 2bc6361ae8
1 changed files with 6 additions and 6 deletions

View File

@ -1202,9 +1202,9 @@ void LOADER_ENTRY::StartLoader()
// infoPlistPath = getKextPlist(SysRoot, empty, forceKext, &NoContents); // infoPlistPath = getKextPlist(SysRoot, empty, forceKext, &NoContents);
DBG("test volume %d, name %ls:\n", sysIndex, SystemVolume->VolName.wc_str()); DBG("test volume %d, name %ls:\n", sysIndex, SystemVolume->VolName.wc_str());
if (FileExists(SysRoot, L"\\System\\Library\\CoreServices\\boot.efi")) { /* if (FileExists(SysRoot, L"\\System\\Library\\CoreServices\\boot.efi")) {
DBG("boot.efi found on %d\n", sysIndex); DBG("boot.efi found on %d\n", sysIndex);
} }
REFIT_DIR_ITER DirIter; REFIT_DIR_ITER DirIter;
EFI_FILE_INFO *DirEntry = NULL; EFI_FILE_INFO *DirEntry = NULL;
DirIterOpen(SysRoot, L"\\System\\Library\\Extensions\\AMDSupport.kext\\Contents\\MacOS\\", &DirIter); DirIterOpen(SysRoot, L"\\System\\Library\\Extensions\\AMDSupport.kext\\Contents\\MacOS\\", &DirIter);
@ -1221,10 +1221,10 @@ void LOADER_ENTRY::StartLoader()
break; break;
} }
*/
// if (SystemVolume->ApfsRole == APPLE_APFS_VOLUME_ROLE_SYSTEM) { if (SystemVolume->ApfsRole == APPLE_APFS_VOLUME_ROLE_SYSTEM) {
// break; break;
// } }
// infoPlistPath = SWPrintf("%ls\\%s", forceKext.wc_str(), "Contents\\Info.plist"); // infoPlistPath = SWPrintf("%ls\\%s", forceKext.wc_str(), "Contents\\Info.plist");
// DBG("Info.plist = %ls\n", infoPlistPath.wc_str()); // DBG("Info.plist = %ls\n", infoPlistPath.wc_str());