From cfcbad511b35bfff416678193306ab260c1ed272 Mon Sep 17 00:00:00 2001 From: Rock Storm Date: Fri, 2 Feb 2024 20:12:38 +0100 Subject: [PATCH] ci: Produce macOS app with capital P Thanks to @neofelis2X --- .github/workflows/buildpackage-mac.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/buildpackage-mac.yml b/.github/workflows/buildpackage-mac.yml index 203da0f94..bcafa9441 100644 --- a/.github/workflows/buildpackage-mac.yml +++ b/.github/workflows/buildpackage-mac.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - os: [macos-11, macos-12] + os: [macos-12] architecture: [x64] python-version: ['3.10'] @@ -33,11 +33,11 @@ jobs: python setup.py build_ext --inplace - name: Make pyinstaller spec run: | - pyi-makespec --hidden-import="pkg_resources.py2_warn" -F --add-data images/\*:images --add-data \*.png:. --add-data \*.ico:. -w -i P-face.icns pronterface.py + pyi-makespec --hidden-import="pkg_resources.py2_warn" -F --add-data images/\*:images --add-data \*.png:. --add-data \*.ico:. --name Pronterface -w -i P-face.icns pronterface.py # Edit spec file export git_hash=$(git rev-parse --short "$GITHUB_SHA") - sed -i '' '$ s/.$//' pronterface.spec - cat >> pronterface.spec <> Pronterface.spec <