Skip to content

Commit 31f8a68

Browse files
committed
Fix typos
backend: manager: create_desktop_entry frontend: cli: launch_tool
1 parent 8cf6ceb commit 31f8a68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bottles/backend/utils/manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def create_desktop_entry(config, program: dict, skip_icon: bool = False, custom_
239239
with open(desktop_file, "w") as f:
240240
f.write(f"[Desktop Entry]\n")
241241
f.write(f"Name={program.get('name')}\n")
242-
f.write(f"Exec={cmd_cli} run -p {shlex.quote(program.get('name'))} -b '{config.get('Name')} -- %u'\n")
242+
f.write(f"Exec={cmd_cli} run -p {shlex.quote(program.get('name'))} -b '{config.get('Name')}' -- %u\n")
243243
f.write(f"Type=Application\n")
244244
f.write(f"Terminal=false\n")
245245
f.write(f"Categories=Application;\n")

bottles/frontend/cli/cli.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ class CLI:
313313
bottle = mng.local_bottles[_bottle]
314314

315315
if _tool == "cmd":
316-
Cmd(bottle).launch()
316+
CMD(bottle).launch()
317317
elif _tool == "winecfg":
318318
WineCfg(bottle).launch()
319319
elif _tool == "uninstaller":

0 commit comments

Comments
 (0)