mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-11 16:27:19 +10:00
17 lines
520 B
Python
17 lines
520 B
Python
from pathlib import Path
|
|
|
|
from opencore_legacy_patcher.support import subprocess_wrapper
|
|
|
|
class GenerateAutoPkg:
|
|
|
|
def __init__(self) -> None:
|
|
self._package_build_bin = "/usr/local/bin/packagesbuild"
|
|
self._autopkg_config = "./ci_tooling/autopkg/AutoPkg-Assets-Setup.pkgproj"
|
|
|
|
|
|
def generate(self) -> None:
|
|
"""
|
|
Generate AutoPkg Assets
|
|
"""
|
|
print("Generating AutoPkg Assets")
|
|
subprocess_wrapper.run_and_verify([self._package_build_bin, self._autopkg_config]) |