gh-132930: Improve the names of IDLE and PyDoc shortcuts (GH-133091)

This commit is contained in:
Steve Dower 2025-04-28 19:09:20 +01:00 committed by GitHub
parent fbffd70328
commit 3940e1f873
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -188,14 +188,14 @@ def calculate_install_json(ns, *, for_embed=False, for_test=False):
if ns.include_idle:
STD_START[0]["Items"].append({
"Name": f"IDLE {VER_DOT}{DISPLAY_SUFFIX}",
"Name": f"IDLE (Python {VER_DOT}{DISPLAY_SUFFIX})",
"Target": f"%PREFIX%{TARGETW or TARGET}",
"Arguments": r'"%PREFIX%Lib\idlelib\idle.pyw"',
"Icon": r"%PREFIX%Lib\idlelib\Icons\idle.ico",
"IconIndex": 0,
})
STD_START[0]["Items"].append({
"Name": f"PyDoc {VER_DOT}{DISPLAY_SUFFIX}",
"Name": f"PyDoc (Python {VER_DOT}{DISPLAY_SUFFIX})",
"Target": f"%PREFIX%{TARGET}",
"Arguments": "-m pydoc -b",
"Icon": r"%PREFIX%Lib\idlelib\Icons\idle.ico",