summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2023-08-17 18:39:57 -0600
committernavanchauhan <navanchauhan@gmail.com>2023-08-17 18:39:57 -0600
commitc8e66f2d51f4dfbddf24520160f756072c7aece7 (patch)
tree4dc5f29ebcf46468c0000afbb6d82eaaa6da3bf1 /.github/workflows
parent7b07f7c7ea58b59f347cf1116b2f08e46bef1a83 (diff)
update pyinstaller command
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/macos-ci.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/macos-ci.yaml b/.github/workflows/macos-ci.yaml
index bd62ff8..9339de5 100644
--- a/.github/workflows/macos-ci.yaml
+++ b/.github/workflows/macos-ci.yaml
@@ -28,7 +28,7 @@ jobs:
- name: Package for macOS
run: |
pip install -r requirements.txt
- pyinstaller --add-data "assets:assets" --onefile --noconfirm --collect-data sv_ttk --name GCPyramid --icon assets/logo.jpeg --windowed main.py
+ pyinstaller --add-data "assets:assets" --onefile --noconfirm --collect-data sv_ttk --icon assets/logo.jpeg --osx-bundle-identifier com.navanchauhan.gcpyramid --target-arch x86_64 --strip --windowed --name GCPyramid main.py
- name: Codesign executable
env:
MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
@@ -40,7 +40,8 @@ jobs:
security unlock-keychain -p 41random@123 build.keychain
security import certificate.p12 -k build.keychain -P $MACOS_CERTIFICATE_PWD -T /usr/bin/codesign
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k 41random@123 build.keychain
- /usr/bin/codesign --force -s 6BS49F3GLW ./dist/GCPyramid.app -v
+ /usr/bin/codesign --force --deep -s 6BS49F3GLW ./dist/GCPyramid.app -v
+ /usr/bin/codesign --force --deep -s 6BS49F3GLW ./dist/GCPyramid -v
- uses: actions/upload-artifact@v3
with:
name: pyramid-scheme