diff --git a/dzgui/config/freedesktop.py b/dzgui/config/freedesktop.py index 6e4504e..bb2017f 100644 --- a/dzgui/config/freedesktop.py +++ b/dzgui/config/freedesktop.py @@ -37,7 +37,8 @@ def write_desktop_file(exe_path: Path) -> Path: def write_desktop_shortcut(desktop_file: Path) -> None: # NOTE: necessarily depends on the above (UI blocks creation without XDG entry first) - link = Path.home().joinpath(f"Desktop/{APP_NAME}.desktop") + link = Path.home().joinpath(f"Desktop/dzgui.desktop") + make_parents(link) if link.exists(): link.unlink() link.symlink_to(desktop_file)