The shell resolves Square44x44Logo through the package resource index; this package never had a resources.pri, so every icon lookup failed and Start/taskbar showed a generic icon regardless of the Assets PNGs. Empirically (SHLoadIndirectString against the live package), with AllowExternalContent MRT loads resources from the EXTERNAL location, not the manifest's folder — so Register-vRIO.ps1 now copies Assets\ and resources.pri next to the exe before registering. Make-Assets.ps1 regenerates the PNGs from vwe.ico and rebuilds the pri (needs makepri from the Windows SDK / SDK.BuildTools NuGet). Package version bumped; the MrtCache is keyed by package full name, so same-version re-registration serves stale lookups. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
71 lines
3.0 KiB
XML
71 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Sparse package ("package with external location"): grants the plain win32
|
|
VRio.App.exe a package identity without changing how it is built or run.
|
|
vRIO needs identity so Windows Dynamic Lighting can list it under
|
|
Settings → Personalization → Dynamic Lighting → Background light control —
|
|
without it the keyboard lamp mirror only works while vRIO has focus.
|
|
|
|
Register (Developer Mode, unsigned) with the exe's folder as the external
|
|
location: see Register-vRIO.ps1 next to this file.
|
|
-->
|
|
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
|
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
|
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
|
|
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
|
|
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
|
IgnorableNamespaces="uap uap3 uap10 rescap">
|
|
|
|
<!-- Bump Version on any Assets/resources.pri change: the shell's MrtCache
|
|
is keyed by package full name and serves stale (even failed) icon
|
|
lookups for a re-registered same-version package. -->
|
|
<Identity Name="VWE.vRIO"
|
|
ProcessorArchitecture="neutral"
|
|
Publisher="CN=VWE"
|
|
Version="1.0.0.1" />
|
|
|
|
<Properties>
|
|
<DisplayName>vRIO</DisplayName>
|
|
<PublisherDisplayName>VWE</PublisherDisplayName>
|
|
<Logo>Assets\logo150.png</Logo>
|
|
<uap10:AllowExternalContent>true</uap10:AllowExternalContent>
|
|
</Properties>
|
|
|
|
<Dependencies>
|
|
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.19041.0" MaxVersionTested="10.0.26200.0" />
|
|
</Dependencies>
|
|
|
|
<Resources>
|
|
<Resource Language="en-us" />
|
|
</Resources>
|
|
|
|
<Capabilities>
|
|
<rescap:Capability Name="runFullTrust" />
|
|
<rescap:Capability Name="unvirtualizedResources" />
|
|
</Capabilities>
|
|
|
|
<Applications>
|
|
<Application Id="vRIO"
|
|
Executable="VRio.App.exe"
|
|
uap10:TrustLevel="mediumIL"
|
|
uap10:RuntimeBehavior="win32App">
|
|
<uap:VisualElements DisplayName="vRIO"
|
|
Description="Virtual RIO cockpit device emulator"
|
|
Square150x150Logo="Assets\logo150.png"
|
|
Square44x44Logo="Assets\logo44.png"
|
|
BackgroundColor="transparent" />
|
|
<Extensions>
|
|
<!-- Advertise as a lighting-controller app so Dynamic Lighting offers
|
|
vRIO in Settings' "Background light control" picker. -->
|
|
<uap3:Extension Category="windows.appExtension">
|
|
<uap3:AppExtension Name="com.microsoft.windows.lighting"
|
|
Id="vrio"
|
|
DisplayName="vRIO"
|
|
Description="vRIO cockpit lamp mirror"
|
|
PublicFolder="Public" />
|
|
</uap3:Extension>
|
|
</Extensions>
|
|
</Application>
|
|
</Applications>
|
|
</Package>
|