Fix bug with linux startmenu links
This commit is contained in:
parent
34c6d8b324
commit
9049d34898
1 changed files with 2 additions and 1 deletions
|
@ -175,7 +175,8 @@ def create_desktop_link(app_name, core: LegendaryCore, type_of_link="desktop"):
|
||||||
"Terminal=false\n"
|
"Terminal=false\n"
|
||||||
"StartupWMClass=rare-game\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
|
# Windows
|
||||||
elif os.name == "nt":
|
elif os.name == "nt":
|
||||||
|
|
Loading…
Reference in a new issue