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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
make build-macos
|
make build-macos
|
||||||
cd dist
|
brew install create-dmg
|
||||||
zip -r Gotify-Tray.zip Gotify-Tray.app
|
create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "Gotify-Tray.dmg" "./dist/Gotify-Tray.app"
|
||||||
cd ..
|
|
||||||
cp dist/Gotify-Tray.zip Gotify-Tray.zip
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Gotify-Tray.zip
|
name: Gotify-Tray.dmg
|
||||||
path: Gotify-Tray.zip
|
path: Gotify-Tray.dmg
|
||||||
|
|||||||
@@ -66,6 +66,13 @@ $ pyinstaller gotify-tray.spec
|
|||||||
```
|
```
|
||||||
An executable is created at `dist/gotify-tray/`.
|
An executable is created at `dist/gotify-tray/`.
|
||||||
|
|
||||||
|
### Create a macos .app
|
||||||
|
|
||||||
|
```
|
||||||
|
$ pip install pyinstaller Pillow
|
||||||
|
$ pyinstaller gotify-tray-macos.spec
|
||||||
|
```
|
||||||
|
|
||||||
### Inno setup (Windows)
|
### Inno setup (Windows)
|
||||||
|
|
||||||
Create an installer for windows with inno setup from pyinstaller output:
|
Create an installer for windows with inno setup from pyinstaller output:
|
||||||
|
|||||||
Reference in New Issue
Block a user