Fix desktop shortcuts on windows
This commit is contained in:
parent
ec6f24e3f8
commit
f8b38e0cb8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue