Bootmgr (macOS): add support

This commit is contained in:
李通洲
2024-05-16 16:27:37 +08:00
parent b2ea5d8f3e
commit 72138dbde5
3 changed files with 17 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
#include "bootmgr.h"
#include "common/io/io.h"
const char* ffDetectBootmgr(FFBootmgrResult* result)
{
if (ffPathExists("/System/Library/CoreServices/boot.efi", FF_PATHTYPE_FILE))
ffStrbufSetStatic(&result->firmware, "/System/Library/CoreServices/boot.efi");
ffStrbufSetStatic(&result->name, "iBoot");
return NULL;
}