Skip to content

Commit

Permalink
bpo-36649: Remove trailing spaces for registry keys when installed vi…
Browse files Browse the repository at this point in the history
…a the Store (GH-12865)

(cherry picked from commit 4c3efd9)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
  • Loading branch information
miss-islington and zooba committed Apr 17, 2019
1 parent 394b991 commit 0d4f16d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
@@ -0,0 +1 @@
Remove trailing spaces for registry keys when installed via the Store.
13 changes: 6 additions & 7 deletions PC/layout/support/appxmanifest.py
Expand Up @@ -159,29 +159,28 @@ def public(f):
"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)
},
},
"Idle": {
"_condition": lambda ns: ns.include_idle,
"": "[{AppVPackageRoot}]Lib\\idlelib\\idle.pyw[ ]",
"": "[{AppVPackageRoot}]\\Lib\\idlelib\\idle.pyw",
},
}
}
Expand Down

0 comments on commit 0d4f16d

Please sign in to comment.