diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml index e044a3a..be0f144 100644 --- a/.github/workflows/patch.yml +++ b/.github/workflows/patch.yml @@ -50,9 +50,9 @@ jobs: run: echo "BACKUP_FOLDER=$(python3 metallib.py --fetch ${{ steps.extract.outputs.DMG_FILE }})" >> $GITHUB_OUTPUT id: fetch - - name: Patch metal libraries - if: steps.fetch.outputs.BACKUP_FOLDER != '' - run: python3 metallib.py --patch ${{ steps.fetch.outputs.BACKUP_FOLDER }} + # - name: Patch metal libraries + # if: steps.fetch.outputs.BACKUP_FOLDER != '' + # run: python3 metallib.py --patch ${{ steps.fetch.outputs.BACKUP_FOLDER }} - name: Build sys_patch_dict.py if: steps.fetch.outputs.BACKUP_FOLDER != '' diff --git a/metal_libraries/cli.py b/metal_libraries/cli.py index 9ea0047..0c30de6 100644 --- a/metal_libraries/cli.py +++ b/metal_libraries/cli.py @@ -88,6 +88,13 @@ def build_pkg(input: str, pkg_signing_identity: str = None, notarization_team_id """ Builds a macOS package from a given directory """ + import logging + logging.basicConfig( + level=logging.INFO, + format="[%(asctime)s] [%(filename)-22s] [%(levelname)-8s] [%(lineno)-3d]: %(message)s", + handlers=[logging.StreamHandler()] + ) + name = Path(input).name assert macos_pkg_builder.Packages( pkg_output=f"MetallibSupportPkg-{name}.pkg",