mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 10:19:49 +00:00
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:
57
.github/workflows/generate-manifest.yml
vendored
Normal file
57
.github/workflows/generate-manifest.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user