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

57
.github/workflows/generate-manifest.yml vendored Normal file
View File

@@ -0,0 +1,57 @@
name: Generate Manifest
on:
push:
paths-ignore:
- '.gitattributes'
- '.gitignore'
- 'LICENSE'
- 'README.md'
workflow_dispatch:
release:
types: [published]
jobs:
generate-manifest:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Generate manifest.json
run: |
python3 << 'EOF'
import os
import sys
from Scripts import integrity_checker
from Scripts import utils
checker = integrity_checker.IntegrityChecker()
root_folder = os.getcwd()
manifest_path = os.path.join(root_folder, "manifest.json")
print(f"Generating manifest from: {root_folder}")
manifest_data = checker.generate_folder_manifest(root_folder, manifest_path)
if manifest_data:
print(f"Manifest generated successfully with {len(manifest_data)} files")
else:
print("Failed to generate manifest")
sys.exit(1)
EOF
- name: Upload manifest.json to Artifacts
uses: actions/upload-artifact@v4
with:
name: manifest.json
path: ./manifest.json
if-no-files-found: error
compression-level: 0