diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-11-26 23:30:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-26 23:30:39 (GMT) |
commit | 3dcbe01dc5236fb77d8c0133fb7e6bdd0754768a (patch) | |
tree | 785c0fff0a1b0d1daaf2d3adaf0467b7f3213b9f /PC | |
parent | fc16ea9c8b8769af8a4c0c16fed7eba2e8bf4019 (diff) | |
download | cpython-3dcbe01dc5236fb77d8c0133fb7e6bdd0754768a.zip cpython-3dcbe01dc5236fb77d8c0133fb7e6bdd0754768a.tar.gz cpython-3dcbe01dc5236fb77d8c0133fb7e6bdd0754768a.tar.bz2 |
bpo-45901: Fixes argument passing when invoking .py files directly through the Store package (GH-29799)
(cherry picked from commit 4841e694ee1686f8c933ddfcb8c854915867ce17)
Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'PC')
-rw-r--r-- | PC/layout/support/appxmanifest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/layout/support/appxmanifest.py b/PC/layout/support/appxmanifest.py index 747c97a..15119b0 100644 --- a/PC/layout/support/appxmanifest.py +++ b/PC/layout/support/appxmanifest.py @@ -430,7 +430,7 @@ def get_appxmanifest(ns): ["python", "python{}".format(VER_MAJOR), "python{}".format(VER_DOT)], PYTHON_VE_DATA, "console", - ("python.file", [".py"], '"%1"', "Python File", PY_PNG), + ("python.file", [".py"], '"%1" %*', "Python File", PY_PNG), ) add_application( @@ -441,7 +441,7 @@ def get_appxmanifest(ns): ["pythonw", "pythonw{}".format(VER_MAJOR), "pythonw{}".format(VER_DOT)], PYTHONW_VE_DATA, "windows", - ("python.windowedfile", [".pyw"], '"%1"', "Python File (no console)", PY_PNG), + ("python.windowedfile", [".pyw"], '"%1" %*', "Python File (no console)", PY_PNG), ) if ns.include_pip and ns.include_launchers: |