create dmg instead of zip
This commit is contained in:
10
.github/workflows/develop.yml
vendored
10
.github/workflows/develop.yml
vendored
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user