Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kliment/Printrun.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/buildpackage-mac.yml')
-rw-r--r--.github/workflows/buildpackage-mac.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/buildpackage-mac.yml b/.github/workflows/buildpackage-mac.yml
index 804868f..fed46ad 100644
--- a/.github/workflows/buildpackage-mac.yml
+++ b/.github/workflows/buildpackage-mac.yml
@@ -34,6 +34,17 @@ jobs:
- 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
+ # Edit spec file
+ sed -i '' '$ s/.$//' pronterface.spec
+ cat >> pronterface.spec <<EOL
+ ,
+ info_plist={
+ 'NSPrincipalClass': 'NSApplication',
+ 'NSAppleScriptEnabled': False,
+ 'NSAppSleepDisabled': True,
+ },
+ )
+ EOL
- name: Make pyinstaller build
run: |
pyinstaller --clean pronterface.spec -y