]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-95733: Allow installing Store package on older Windows versions (GH-95862)
authorSteve Dower <steve.dower@python.org>
Wed, 10 Aug 2022 23:47:58 +0000 (00:47 +0100)
committerGitHub <noreply@github.com>
Wed, 10 Aug 2022 23:47:58 +0000 (00:47 +0100)
Misc/NEWS.d/next/Windows/2022-08-10-22-46-48.gh-issue-95733.2_urOp.rst [new file with mode: 0644]
PC/layout/support/appxmanifest.py

diff --git a/Misc/NEWS.d/next/Windows/2022-08-10-22-46-48.gh-issue-95733.2_urOp.rst b/Misc/NEWS.d/next/Windows/2022-08-10-22-46-48.gh-issue-95733.2_urOp.rst
new file mode 100644 (file)
index 0000000..9962092
--- /dev/null
@@ -0,0 +1,2 @@
+Make certain requirements of the Windows Store package optional to allow
+installing on earlier updates of Windows.
index 4850fad9b56d8be64b6491114668144a26d86117..1fb03380278f439197bca474cc8eaeabb2eeeca5 100644 (file)
@@ -86,7 +86,8 @@ APPXMANIFEST_NS = {
 }
 
 APPXMANIFEST_TEMPLATE = """<?xml version="1.0" encoding="utf-8"?>
-<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
+<Package IgnorableNamespaces="desktop4 desktop6"
+    xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
     xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
     xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
     xmlns:rescap4="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/4"