mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-04-13 19:47:24 +02:00
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
This commit is contained in:
commit
1fe7cc1cfc
@ -3042,7 +3042,7 @@ XStringW GetBundleVersion(const XStringW& FullName)
|
|||||||
Status = egLoadFile(SelfRootDir, FullName.wc_str(), (UINT8**)&InfoPlistPtr, &Size);
|
Status = egLoadFile(SelfRootDir, FullName.wc_str(), (UINT8**)&InfoPlistPtr, &Size);
|
||||||
}
|
}
|
||||||
if(!EFI_ERROR(Status)) {
|
if(!EFI_ERROR(Status)) {
|
||||||
DBG("file %ls\n", InfoPlistPath.wc_str());
|
//DBG("about to parse xml file %ls\n", InfoPlistPath.wc_str());
|
||||||
Status = ParseXML(InfoPlistPtr, &InfoPlistDict, Size);
|
Status = ParseXML(InfoPlistPtr, &InfoPlistDict, Size);
|
||||||
if(!EFI_ERROR(Status) && (InfoPlistDict != nullptr)) {
|
if(!EFI_ERROR(Status) && (InfoPlistDict != nullptr)) {
|
||||||
Prop = InfoPlistDict->propertyForKey("CFBundleVersion");
|
Prop = InfoPlistDict->propertyForKey("CFBundleVersion");
|
||||||
|
Loading…
Reference in New Issue
Block a user