1
0
Fork 0
mirror of synced 2024-06-28 19:21:05 +12:00

Fix bug with linux startmenu links

This commit is contained in:
Dummerle 2021-05-18 17:07:39 +02:00
parent 34c6d8b324
commit 9049d34898

View file

@ -175,7 +175,8 @@ def create_desktop_link(app_name, core: LegendaryCore, type_of_link="desktop"):
"Terminal=false\n"
"StartupWMClass=rare-game\n"
)
os.chmod(os.path.expanduser(f"~/Desktop/{igame.title}.desktop"), 0o755)
desktop_file.close()
os.chmod(os.path.expanduser(f"{path}{igame.title}.desktop"), 0o755)
# Windows
elif os.name == "nt":