1
0
Fork 0
mirror of synced 2024-06-02 10:44:40 +12:00

Fix desktop shortcuts on windows

This commit is contained in:
lennard 2023-05-02 23:30:30 +02:00 committed by Dummerle
parent ec6f24e3f8
commit f8b38e0cb8

View file

@ -236,7 +236,7 @@ def create_desktop_link(app_name: str, app_title: str = "", link_name: str = "",
shortcut.WorkingDirectory = str(home_dir())
# Icon
shortcut.IconLocation = icon_path.absolute()
shortcut.IconLocation = str(icon_path.absolute())
shortcut.save()
return True