Closed roddy20 closed 4 years ago
PS both Mac and Win10, the same error
error in string
can it be HEX or number only? 518 ?
solved, in original config file it must be string 0x0206, not integer
Why is this being closed? Hexadecimal numbers in integers are supported by plist format by all major editors, and are not limited by the spec either. This remains being a bug, which should be fixed.
see the comment above
Should be fixed as of this commit. It seems this is a limitation of python's plistlib module (2.7 code here and 3.8 code here) assuming base-10 integers at all times. I've monkey patched the end_integer
function to check for the 0x
prefix and react accordingly.
It also mimics Xcode's approach of loading the hex, then displaying and saving as a base-10 integer. I tested loading the Clover config-sample.plist with both python 2.7.16 and 3.7.5.
Please let me know if you have other issues with it,
-CorpNewt
works OK now Thanks
https://github.com/CloverHackyColor/CloverBootloader/blob/master/CloverPackage/CloverV2/EFI/CLOVER/config-sample.plist cannot be opened