From 511adb1c3464a3f453bbb1f6bbd62078b634ae35 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sat, 22 Nov 2025 17:52:39 +1100 Subject: [PATCH] Fix test and appimage icon stuff --- bouquin.desktop | 4 ++-- pyproject.toml | 1 + tests/test_main.py | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bouquin.desktop b/bouquin.desktop index 7ebef32..aa519c3 100644 --- a/bouquin.desktop +++ b/bouquin.desktop @@ -2,5 +2,5 @@ Type=Application Name=Bouquin Exec=Bouquin.AppImage -Icon=/home/user/git/bouquin/bouquin/icons/bouquin.svg -Categories=Office;TextEditor;Utility +Icon=bouquin +Categories=Office diff --git a/pyproject.toml b/pyproject.toml index 406bf46..19850c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,7 @@ pyproject-appimage = "^4.2" script = "bouquin" output = "Bouquin.AppImage" icon = "bouquin/icons/bouquin-light.svg" +rename-icon = "bouquin.png" desktop-entry = "bouquin.desktop" [tool.vulture] diff --git a/tests/test_main.py b/tests/test_main.py index 94d3b11..2a357fb 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -42,6 +42,9 @@ def test_main_creates_and_shows(monkeypatch): def setOrganizationName(self, *_): pass + def setWindowIcon(self, *_): + pass + def exec(self): return 0