gh-95733: Allow installing Store package on older Windows versions (GH-95862)

This commit is contained in:
Steve Dower 2022-08-11 00:47:58 +01:00 committed by GitHub
parent 97e9cfa75a
commit 73d8ffefe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,2 @@
Make certain requirements of the Windows Store package optional to allow
installing on earlier updates of Windows.

View 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"