From fc1311579cc7b0edfe02f212f208ec9134af6929 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Sat, 11 Jul 2026 17:53:55 +0900 Subject: [PATCH] fix: clear typehinting errors --- dzgui/config/freedesktop.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dzgui/config/freedesktop.py b/dzgui/config/freedesktop.py index edad06f..4cebe98 100644 --- a/dzgui/config/freedesktop.py +++ b/dzgui/config/freedesktop.py @@ -10,7 +10,8 @@ from dzgui.util.dirs import copy_dzgui_to_xdg_data, find_icon_resource, make_par def get_share_path(exe_path: Path) -> Path: return exe_path.parent.parent -def write_desktop_file(exe_path: Path) -> None: + +def write_desktop_file(exe_path: Path) -> Path: icon = find_icon_resource() template = f"""\