1
0
Fork 0
mirror of synced 2024-06-03 03:04:42 +12:00

Fixed Windows Desktop link: Icons

This commit is contained in:
Dummerle 2021-05-11 16:42:41 +02:00
parent f2922bc677
commit 4378df2791

View file

@ -206,5 +206,5 @@ def create_desktop_link(app_name, core: LegendaryCore, type_of_link="desktop"):
img = Image.open(icon+".png")
img.save(icon+".ico")
logger.info("Create Icon")
shortcut.IconLocation = os.path.join(icon)
shortcut.IconLocation = os.path.join(icon+ ".ico")
shortcut.save()