Fix test and appimage icon stuff
All checks were successful
CI / test (push) Successful in 4m15s
Lint / test (push) Successful in 28s
Trivy / test (push) Successful in 21s

This commit is contained in:
Miguel Jacq 2025-11-22 17:52:39 +11:00
parent f8c4abd899
commit 511adb1c34
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
3 changed files with 6 additions and 2 deletions

View file

@ -2,5 +2,5 @@
Type=Application Type=Application
Name=Bouquin Name=Bouquin
Exec=Bouquin.AppImage Exec=Bouquin.AppImage
Icon=/home/user/git/bouquin/bouquin/icons/bouquin.svg Icon=bouquin
Categories=Office;TextEditor;Utility Categories=Office

View file

@ -32,6 +32,7 @@ pyproject-appimage = "^4.2"
script = "bouquin" script = "bouquin"
output = "Bouquin.AppImage" output = "Bouquin.AppImage"
icon = "bouquin/icons/bouquin-light.svg" icon = "bouquin/icons/bouquin-light.svg"
rename-icon = "bouquin.png"
desktop-entry = "bouquin.desktop" desktop-entry = "bouquin.desktop"
[tool.vulture] [tool.vulture]

View file

@ -42,6 +42,9 @@ def test_main_creates_and_shows(monkeypatch):
def setOrganizationName(self, *_): def setOrganizationName(self, *_):
pass pass
def setWindowIcon(self, *_):
pass
def exec(self): def exec(self):
return 0 return 0