remove hyphen from name

This commit is contained in:
dries.k
2022-08-27 16:51:39 +02:00
parent 71a6036cce
commit 4f6ce0db56
8 changed files with 14 additions and 47 deletions

View File

@@ -93,7 +93,7 @@ jobs:
run: | run: |
make build-macos make build-macos
brew install create-dmg brew install create-dmg
create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "gotify-tray.dmg" "./dist/Gotify-Tray.app" create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "gotify-tray.dmg" "./dist/Gotify Tray.app"
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

View File

@@ -74,7 +74,7 @@ jobs:
run: | run: |
make build-macos make build-macos
brew install create-dmg brew install create-dmg
create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "gotify-tray.dmg" "./dist/Gotify-Tray.app" create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "gotify-tray.dmg" "./dist/Gotify Tray.app"
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

View File

@@ -11,7 +11,7 @@ build-macos: clean
pip install -r requirements.txt pip install -r requirements.txt
pip install pyinstaller pip install pyinstaller
pip install Pillow pip install Pillow
pyinstaller gotify-tray-macos.spec pyinstaller gotify-tray.spec
install: build install: build
sudo dpkg -i dist/gotify-tray_amd64.deb sudo dpkg -i dist/gotify-tray_amd64.deb

View File

@@ -70,7 +70,7 @@ An executable is created at `dist/gotify-tray/`.
``` ```
$ pip install pyinstaller Pillow $ pip install pyinstaller Pillow
$ pyinstaller gotify-tray-macos.spec $ pyinstaller gotify-tray.spec
``` ```
### Inno setup (Windows) ### Inno setup (Windows)

View File

@@ -2,5 +2,5 @@ Package: gotify-tray
Version: 0.1.14 Version: 0.1.14
Architecture: amd64 Architecture: amd64
Maintainer: k.dries@protonmail.com Maintainer: k.dries@protonmail.com
Description: gotify-tray Description: Gotify Tray
A tray notification application for receiving messages from a Gotify server. A tray notification application for receiving messages from a Gotify server.

View File

@@ -1,5 +1,5 @@
[Desktop Entry] [Desktop Entry]
Name=gotify-tray Name=Gotify Tray
Comment=A tray notification application for receiving messages from a Gotify server. Comment=A tray notification application for receiving messages from a Gotify server.
Path=/usr/lib/gotify-tray Path=/usr/lib/gotify-tray
Exec=/usr/lib/gotify-tray/gotify-tray Exec=/usr/lib/gotify-tray/gotify-tray

View File

@@ -1,41 +0,0 @@
# -*- mode: python -*-
block_cipher = None
a = Analysis(['gotify_tray/__main__.py'],
pathex=[os.getcwd()],
binaries=[],
datas=[('gotify_tray/gui/images', 'gotify_tray/gui/images')],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
[],
exclude_binaries=True,
name='gotify-tray',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
version='version.py',
icon='logo.ico')
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='gotify-tray')
app = BUNDLE(coll,
name='Gotify-Tray.app',
icon='logo.ico',
bundle_identifier=None)

View File

@@ -1,5 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
import platform
block_cipher = None block_cipher = None
a = Analysis(['gotify_tray/__main__.py'], a = Analysis(['gotify_tray/__main__.py'],
@@ -35,3 +37,9 @@ coll = COLLECT(exe,
strip=False, strip=False,
upx=True, upx=True,
name='gotify-tray') name='gotify-tray')
if platform.system() == "Darwin":
app = BUNDLE(coll,
name='Gotify Tray.app',
icon='logo.ico',
bundle_identifier=None)