Add GUI Support for OpCore Simplify (#512)

* Refactor OpCore-Simplify to GUI version

* New ConfigEditor

* Add requirement checks and installation in launchers

* Add GitHub Actions workflow to generate manifest.json

* Set compression level for asset

* Skip .git and __pycache__ folders

* Refactor update process to include integrity checker

* Add SMBIOS model selection

* Update README.md

* Update to main branch
This commit is contained in:
Hoang Hong Quan
2025-12-30 14:19:47 +07:00
committed by GitHub
parent 871d826ea4
commit 0e608a56ce
38 changed files with 4948 additions and 1636 deletions

View File

@@ -0,0 +1,29 @@
def format_value(value):
if value is None:
return "None"
elif isinstance(value, bool):
return "True" if value else "False"
elif isinstance(value, (bytes, bytearray)):
return value.hex().upper()
elif isinstance(value, str):
return value
return str(value)
def get_value_type(value):
if value is None:
return None
elif isinstance(value, dict):
return "Dictionary"
elif isinstance(value, list):
return "Array"
elif isinstance(value, (bytes, bytearray)):
return "Data"
elif isinstance(value, bool):
return "Boolean"
elif isinstance(value, (int, float)):
return "Number"
elif isinstance(value, str):
return "String"
return "String"