diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index d0ae7d4..fec3451 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -69,12 +69,10 @@ jobs: - name: Build run: | make build-macos - cd dist - zip -r Gotify-Tray.zip Gotify-Tray.app - cd .. - cp dist/Gotify-Tray.zip Gotify-Tray.zip + brew install create-dmg + create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "Gotify-Tray.dmg" "./dist/Gotify-Tray.app" - name: Upload artifact uses: actions/upload-artifact@v2 with: - name: Gotify-Tray.zip - path: Gotify-Tray.zip + name: Gotify-Tray.dmg + path: Gotify-Tray.dmg diff --git a/README.md b/README.md index e17f77d..7a015cb 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,13 @@ $ pyinstaller gotify-tray.spec ``` An executable is created at `dist/gotify-tray/`. +### Create a macos .app + +``` +$ pip install pyinstaller Pillow +$ pyinstaller gotify-tray-macos.spec +``` + ### Inno setup (Windows) Create an installer for windows with inno setup from pyinstaller output: