Fix T79356: Improved icons for MSIX builds
Fixed an issue that was causing the app icon to render with a 'plated' background color in the taskbar and other areas of Windows. Updated all app icons in Microsoft Store package to match Microsoft's design recommendations. Added multiple scales for app icons for high resolution displays. Added high contrast app icons. Reviewed By: pablovazquez, jmonteath Maniphest Tasks: T79356 Differential Revision: https://developer.blender.org/D9681
|
Before Width: | Height: | Size: 8.7 KiB |
BIN
release/windows/msix/Assets/Square150x150Logo.scale-100.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
release/windows/msix/Assets/Square150x150Logo.scale-125.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
release/windows/msix/Assets/Square150x150Logo.scale-150.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
release/windows/msix/Assets/Square150x150Logo.scale-200.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
release/windows/msix/Assets/Square150x150Logo.scale-400.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 24 KiB |
BIN
release/windows/msix/Assets/Square310x310Logo.scale-100.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
release/windows/msix/Assets/Square310x310Logo.scale-125.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
release/windows/msix/Assets/Square310x310Logo.scale-150.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
release/windows/msix/Assets/Square310x310Logo.scale-200.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
release/windows/msix/Assets/Square310x310Logo.scale-400.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 604 B |
|
After Width: | Height: | Size: 918 B |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 604 B |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
BIN
release/windows/msix/Assets/Square44x44Logo.scale-100.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
release/windows/msix/Assets/Square44x44Logo.scale-125.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
release/windows/msix/Assets/Square44x44Logo.scale-150.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
release/windows/msix/Assets/Square44x44Logo.scale-200.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
release/windows/msix/Assets/Square44x44Logo.scale-400.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
release/windows/msix/Assets/Square44x44Logo.targetsize-16.png
Normal file
|
After Width: | Height: | Size: 604 B |
BIN
release/windows/msix/Assets/Square44x44Logo.targetsize-24.png
Normal file
|
After Width: | Height: | Size: 918 B |
|
After Width: | Height: | Size: 918 B |
BIN
release/windows/msix/Assets/Square44x44Logo.targetsize-256.png
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
release/windows/msix/Assets/Square44x44Logo.targetsize-32.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
release/windows/msix/Assets/Square44x44Logo.targetsize-48.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
BIN
release/windows/msix/Assets/Square71x71Logo.scale-100.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
release/windows/msix/Assets/Square71x71Logo.scale-125.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
release/windows/msix/Assets/Square71x71Logo.scale-150.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
release/windows/msix/Assets/Square71x71Logo.scale-200.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
release/windows/msix/Assets/Square71x71Logo.scale-400.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 5.1 KiB |
BIN
release/windows/msix/Assets/StoreLogo.scale-100.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
release/windows/msix/Assets/StoreLogo.scale-125.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
release/windows/msix/Assets/StoreLogo.scale-150.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
release/windows/msix/Assets/StoreLogo.scale-200.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
release/windows/msix/Assets/StoreLogo.scale-400.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 10 KiB |
BIN
release/windows/msix/Assets/Wide310x150Logo.scale-100.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
release/windows/msix/Assets/Wide310x150Logo.scale-125.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
release/windows/msix/Assets/Wide310x150Logo.scale-150.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
release/windows/msix/Assets/Wide310x150Logo.scale-200.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
release/windows/msix/Assets/Wide310x150Logo.scale-400.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 582 B |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 744 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 744 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 582 B |
|
After Width: | Height: | Size: 582 B |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 744 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 583 B |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 743 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 743 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 583 B |
|
After Width: | Height: | Size: 583 B |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 743 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 12 KiB |
@@ -9,8 +9,9 @@ needs to be signed.
|
||||
Requirements
|
||||
============
|
||||
|
||||
* MakeAppX - this tool is distributed with Windows 10 SDK
|
||||
* SignTool - this tool is also distributed with Windows 10 SDK
|
||||
* MakeAppX.exe - this tool is distributed with the Windows 10 SDK and is used to build the .appx package.
|
||||
* MakePri.exe - this tool is distributed with the Windows 10 SDK and is used to generate a resources file.
|
||||
* SignTool.exe - this tool is distributed with the Windows 10 SDK and is used to sign the .appx package.
|
||||
* Python 3 (3.7 or later tested) - to run the create_msix_package.py script
|
||||
* requests module - can be installed with `pip install requests`
|
||||
* PFX file (optional, but strongly recommended) - for signing the resulting MSIX
|
||||
|
||||
@@ -95,6 +95,9 @@ content_blender_folder = pathlib.Path(content_folder, "Blender").absolute()
|
||||
content_assets_folder = pathlib.Path(content_folder, "Assets")
|
||||
assets_original_folder = pathlib.Path(".", "Assets")
|
||||
|
||||
pri_config_file = pathlib.Path(".", "priconfig.xml")
|
||||
pri_resources_file = pathlib.Path(content_folder, "resources.pri")
|
||||
|
||||
local_blender_zip = pathlib.Path(".", "blender.zip")
|
||||
|
||||
if args.pfx:
|
||||
@@ -107,6 +110,13 @@ else:
|
||||
pfx_path = None
|
||||
print("Creating MSIX package without signing.")
|
||||
|
||||
pri_new_command = ["makepri",
|
||||
"new",
|
||||
"/pr", f"{content_folder.absolute()}",
|
||||
"/cf", f"{pri_config_file.absolute()}",
|
||||
"/of", f"{pri_resources_file.absolute()}"
|
||||
]
|
||||
|
||||
msix_command = ["makeappx",
|
||||
"pack",
|
||||
"/h", "SHA256",
|
||||
@@ -165,6 +175,9 @@ with zipfile.ZipFile(local_blender_zip, "r") as blender_zip:
|
||||
print("... extraction complete.")
|
||||
|
||||
|
||||
print(f"Generating Package Resource Index (PRI) file using command: {' '.join(pri_new_command)}")
|
||||
execute_command(pri_new_command, "MakePri", 4)
|
||||
|
||||
print(f"Creating MSIX package using command: {' '.join(msix_command)}")
|
||||
|
||||
# Remove MSIX file if it already exists. Otherwise the MakeAppX tool
|
||||
|
||||
26
release/windows/msix/priconfig.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<resources targetOsVersion="10.0.0" majorVersion="1">
|
||||
<packaging>
|
||||
<autoResourcePackage qualifier="Language"/>
|
||||
<autoResourcePackage qualifier="Scale"/>
|
||||
</packaging>
|
||||
<index root="\" startIndexAt="\">
|
||||
<default>
|
||||
<qualifier name="Language" value="en-US"/>
|
||||
<qualifier name="Contrast" value="standard"/>
|
||||
<qualifier name="Scale" value="100"/>
|
||||
<qualifier name="HomeRegion" value="001"/>
|
||||
<qualifier name="TargetSize" value="256"/>
|
||||
<qualifier name="LayoutDirection" value="LTR"/>
|
||||
<qualifier name="Theme" value="dark"/>
|
||||
<qualifier name="AlternateForm" value=""/>
|
||||
<qualifier name="DXFeatureLevel" value="DX9"/>
|
||||
<qualifier name="Configuration" value=""/>
|
||||
<qualifier name="DeviceFamily" value="Universal"/>
|
||||
<qualifier name="Custom" value=""/>
|
||||
</default>
|
||||
<indexer-config type="folder" foldernameAsQualifier="true" filenameAsQualifier="true" qualifierDelimiter=".">
|
||||
<exclude type="path" value="Blender" doNotTraverse="true" doNotIndex="true" />
|
||||
</indexer-config>
|
||||
</index>
|
||||
</resources>
|
||||