summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-04-17 14:52:14 -0700
committerGitHub <noreply@github.com>2019-04-17 14:52:14 -0700
commit0d4f16d283fe3b8a183775ac7ac193988d971ad5 (patch)
tree4d0fad26aefe658a9c3c15568ac0f943f9f4c786 /PC
parent394b991e41a2a4ce3afc8e6fde44de46e73bbb34 (diff)
downloadcpython-git-0d4f16d283fe3b8a183775ac7ac193988d971ad5.tar.gz
bpo-36649: Remove trailing spaces for registry keys when installed via the Store (GH-12865)
(cherry picked from commit 4c3efd9cd07194b5db2a60ae5951134cda8b69db) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
Diffstat (limited to 'PC')
-rw-r--r--PC/layout/support/appxmanifest.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/PC/layout/support/appxmanifest.py b/PC/layout/support/appxmanifest.py
index c5dda70c7e..49a35fa1f0 100644
--- a/PC/layout/support/appxmanifest.py
+++ b/PC/layout/support/appxmanifest.py
@@ -159,21 +159,20 @@ REGISTRY = {
"SysVersion": VER_DOT,
"Version": "{}.{}.{}".format(VER_MAJOR, VER_MINOR, VER_MICRO),
"InstallPath": {
- # I have no idea why the trailing spaces are needed, but they seem to be needed.
- "": "[{AppVPackageRoot}][ ]",
- "ExecutablePath": "[{AppVPackageRoot}]python.exe[ ]",
- "WindowedExecutablePath": "[{AppVPackageRoot}]pythonw.exe[ ]",
+ "": "[{AppVPackageRoot}]",
+ "ExecutablePath": "[{AppVPackageRoot}]\\python.exe",
+ "WindowedExecutablePath": "[{AppVPackageRoot}]\\pythonw.exe",
},
"Help": {
"Main Python Documentation": {
"_condition": lambda ns: ns.include_chm,
- "": "[{{AppVPackageRoot}}]Doc\\{}[ ]".format(
+ "": "[{{AppVPackageRoot}}]\\Doc\\{}".format(
PYTHON_CHM_NAME
),
},
"Local Python Documentation": {
"_condition": lambda ns: ns.include_html_doc,
- "": "[{AppVPackageRoot}]Doc\\html\\index.html[ ]",
+ "": "[{AppVPackageRoot}]\\Doc\\html\\index.html",
},
"Online Python Documentation": {
"": "https://docs.python.org/{}".format(VER_DOT)
@@ -181,7 +180,7 @@ REGISTRY = {
},
"Idle": {
"_condition": lambda ns: ns.include_idle,
- "": "[{AppVPackageRoot}]Lib\\idlelib\\idle.pyw[ ]",
+ "": "[{AppVPackageRoot}]\\Lib\\idlelib\\idle.pyw",
},
}
}