hermes-agent/apps/desktop/assets/msix-manifest.xml
2026-09-11 10:58:02 -04:00

62 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Custom MSIX manifest for Hermes desktop.
Forked from app-builder-lib's templates/msix/appxmanifest.xml. The PM
payload console-script aliases are uap5 extensions. The package root
must declare uap5 and list it in IgnorableNamespaces.
Keep this template in sync with app-builder-lib when electron-builder
changes. The only intended delta is the uap5 namespace declaration and
IgnorableNamespaces entry.
-->
<!--suppress XmlUnusedNamespaceDeclaration -->
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5"
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
xmlns:desktop4="http://schemas.microsoft.com/appx/manifest/desktop/windows10/4"
xmlns:desktop6="http://schemas.microsoft.com/appx/manifest/desktop/windows10/6"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap5 uap10 desktop4 desktop6">
<!-- use single quotes to avoid double quotes escaping in the publisher value -->
<Identity Name="${identityName}"
ProcessorArchitecture="${arch}"
Publisher='${publisher}'
Version="${version}" />
<Properties>
<DisplayName>${displayName}</DisplayName>
<PublisherDisplayName>${publisherDisplayName}</PublisherDisplayName>
<Description>${description}</Description>
<Logo>${logo}</Logo>
${packageIntegrity}
<!-- Hermes owns durable state in %LOCALAPPDATA% and shares it with the
unpackaged CLI/gateway. Do not give MSIX a package-private AppData
view or the Store and sideloaded builds will split the user's state. -->
<desktop6:FileSystemWriteVirtualization>disabled</desktop6:FileSystemWriteVirtualization>
<desktop6:RegistryWriteVirtualization>disabled</desktop6:RegistryWriteVirtualization>
</Properties>
<Resources>
${resourceLanguages}
</Resources>
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="${minVersion}" MaxVersionTested="${maxVersionTested}" />
</Dependencies>
${capabilities}
<Applications>
<Application Id="${applicationId}" Executable="${executable}" EntryPoint="Windows.FullTrustApplication">
<uap:VisualElements
BackgroundColor="${backgroundColor}"
DisplayName="${displayName}"
Square150x150Logo="${square150x150Logo}"
Square44x44Logo="${square44x44Logo}"
Description="${description}">
${defaultTile}
${lockScreen}
${splashScreen}
</uap:VisualElements>
${extensions}
</Application>
</Applications>
</Package>