diff options
author | Nathan Letwory <jesterking> | 2020-09-23 12:19:49 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-09-23 12:23:10 +0300 |
commit | 782baa8f54bca659fdae60391147adbcad93d2bb (patch) | |
tree | fd93e6be101a4a828657a11e8df18ba80c1c72fc /release/windows/msix/AppxManifest.xml.template | |
parent | c3a0618fbffffffcf5abbeed8de3f19d8a401db1 (diff) |
Windows Release: Script creation of MSIX package
Script create_msix_package.py will download the ZIP file
from the given URL. It will create the MSIX package
with the version number and publisher ID given.
Strongly recommended are the path to a valid PFX file, and the
password to use that PFX file. These are needed for signing
the resulting MSIX package. The signing step is optional though,
but the resulting MSIX package cannot be installed outside of the
Microsoft Store
Example
set VERSION=2.83.2.0
set URL=https://download.blender.org/release/Blender2.83/blender-2.83.2-windows64.zip
set PUBID=CN=PUBIDHERE
set PFX=X:\path\to\cert.pfx
set PFXPW=pwhere
python create_msix_package.py --version %VERSION% --url %URL% --publisher %PUBID% --pfx %PFX% --password %PFXPW%
Requirements:
* Python default from the Microsoft Store should do (3.8)
* requests can be installed with `pip install requests`
Note that for an LTS release that gets uploaded to its own LTS application release
in the store you need to specify the `--lts` switch on the command-line to the script.
Upon completion there will be a file with the
name blender-2.83.2.0-windows64.msix. In case PFX file and its password were
given on the command line MSIX package will also be signed for the Microsoft Store.
Related Wiki page: https://wiki.blender.org/wiki/Process/Release_On_Windows_Store
Reviewed By: jbakker
Maniphest Tasks: T77348, T79356
Differential Revision: https://developer.blender.org/D8310
Diffstat (limited to 'release/windows/msix/AppxManifest.xml.template')
-rw-r--r-- | release/windows/msix/AppxManifest.xml.template | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/release/windows/msix/AppxManifest.xml.template b/release/windows/msix/AppxManifest.xml.template new file mode 100644 index 00000000000..9289a67efef --- /dev/null +++ b/release/windows/msix/AppxManifest.xml.template @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:uap4="http://schemas.microsoft.com/appx/manifest/uap/windows10/4" xmlns:uap6="http://schemas.microsoft.com/appx/manifest/uap/windows10/6" xmlns:uap7="http://schemas.microsoft.com/appx/manifest/uap/windows10/7" xmlns:uap8="http://schemas.microsoft.com/appx/manifest/uap/windows10/8" xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10" xmlns:mobile="http://schemas.microsoft.com/appx/manifest/mobile/windows10" xmlns:iot="http://schemas.microsoft.com/appx/manifest/iot/windows10" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" xmlns:desktop2="http://schemas.microsoft.com/appx/manifest/desktop/windows10/2" xmlns:desktop6="http://schemas.microsoft.com/appx/manifest/desktop/windows10/6" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:rescap3="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/3" xmlns:rescap6="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/6" xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10" xmlns:com2="http://schemas.microsoft.com/appx/manifest/com/windows10/2" xmlns:com3="http://schemas.microsoft.com/appx/manifest/com/windows10/3" IgnorableNamespaces="uap uap2 uap3 uap4 uap6 uap7 uap8 uap10 mobile iot desktop desktop2 desktop6 rescap rescap3 rescap6 com com2 com3"> + <Identity Name="BlenderFoundation.Blender[PACKAGETYPE]" Publisher="[PUBLISHER]" Version="[VERSION]" ProcessorArchitecture="x64" /> + <Properties> + <DisplayName>Blender[LTSORNOT]</DisplayName> + <PublisherDisplayName>Blender Foundation</PublisherDisplayName> + <Description>Blender [VERSION] is the Free and Open Source 3D creation suite</Description> + <Logo>Assets\StoreLogo.png</Logo> + </Properties> + <Resources> + <Resource Language="en-us" /> + </Resources> + <Dependencies> + <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.18335.0" /> + </Dependencies> + <Capabilities> + <rescap:Capability Name="runFullTrust" /> + </Capabilities> + <Applications> + <Application Id="BLENDER" Executable="Blender\blender.exe" EntryPoint="Windows.FullTrustApplication"> + <uap:VisualElements + BackgroundColor="transparent" + DisplayName="Blender [VERSION]" + Square150x150Logo="Assets\Square150x150Logo.png" + Square44x44Logo="Assets\Square44x44Logo.png" + Description="Blender is the Free and Open Source 3D creation suite" + > + <uap:DefaultTile + Wide310x150Logo="Assets\Wide310x150Logo.png" + Square310x310Logo="Assets\Square310x310Logo.png" + Square71x71Logo="Assets\Square71x71Logo.png" + ShortName="Blender [VERSION]" + > + <uap:ShowNameOnTiles> + <uap:ShowOn Tile="square150x150Logo"/> <!-- Show app name on the 150x150 tile --> + <uap:ShowOn Tile="wide310x150Logo"/> <!-- …and also on the 310x150 tile --> + <uap:ShowOn Tile="square310x310Logo"/> <!-- …and also on the 310x150 tile --> + </uap:ShowNameOnTiles> + </uap:DefaultTile> + </uap:VisualElements> + <Extensions> + <uap3:Extension Category="windows.fileTypeAssociation"> + <uap3:FileTypeAssociation Name="blend"> + <uap:SupportedFileTypes> + <uap:FileType>.blend</uap:FileType> + </uap:SupportedFileTypes> + <uap2:SupportedVerbs> + <uap3:Verb Id="open" Parameters=""%1"">open</uap3:Verb> + </uap2:SupportedVerbs> + </uap3:FileTypeAssociation> + </uap3:Extension> + <uap3:Extension Category="windows.appExecutionAlias" Executable="Blender\blender.exe" EntryPoint="Windows.FullTrustApplication"> + <uap3:AppExecutionAlias> + <desktop:ExecutionAlias Alias="blender.exe" /> + </uap3:AppExecutionAlias> + </uap3:Extension> + </Extensions> + </Application> + </Applications> +</Package> |