Skip to content

Commit ac191da

Browse files
committed
Properly quote IDLE shortcut. Will backport to 2.4.
1 parent 3673369 commit ac191da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tools/msi/msi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,9 +1080,9 @@ def add_registry(db):
10801080
if have_tcl:
10811081
tcltkshortcuts = [
10821082
("IDLE", "MenuDir", "IDLE|IDLE (Python GUI)", "pythonw.exe",
1083-
tcltk.id, r"[TARGETDIR]Lib\idlelib\idle.pyw", None, None, "python_icon.exe", 0, None, "TARGETDIR"),
1083+
tcltk.id, r'"[TARGETDIR]Lib\idlelib\idle.pyw"', None, None, "python_icon.exe", 0, None, "TARGETDIR"),
10841084
("PyDoc", "MenuDir", "MODDOCS|Module Docs", "pythonw.exe",
1085-
tcltk.id, r"[TARGETDIR]Tools\scripts\pydocgui.pyw", None, None, "python_icon.exe", 0, None, "TARGETDIR"),
1085+
tcltk.id, r'"[TARGETDIR]Tools\scripts\pydocgui.pyw"', None, None, "python_icon.exe", 0, None, "TARGETDIR"),
10861086
]
10871087
add_data(db, "Shortcut",
10881088
tcltkshortcuts +

0 commit comments

Comments
 (0)