﻿<?xml version="1.0" encoding="utf-8"?>
<!--
  MS Store MSIX manifest for Rho MD 鈥?in-place upgrade of the markview listing.

  IDENTITY IS LOAD-BEARING, NEVER CHANGE:
    Identity Name / Publisher   鈫?package family WUKODEV.MarkView-MarkdownReader_wdzrmpeatq29p;
                                  changing either orphans the 2K installed base from the update chain.
    Application Id="MARKVIEW"   鈫?AUMID (taskbar pins / start menu identity) stays valid across the rebrand.

  Deliberate departures from the old Packaging-Tool-captured template (v1.0.5):
    - exe at package root (modern desktop-bridge layout) instead of VFS\Local AppData\...
    - no Registry.dat / User.dat / UserClasses.dat  鈫?old captured HKCU associations dropped;
      file types + protocol are declared here instead (MSIX-correct form)
    - no desktop7:Shortcut (Store apps get a start-menu entry from <Application> automatically)
    - no Microsoft.WindowsAppRuntime dependency (Packaging Tool artifact; Rho MD uses WebView2 Evergreen)
    - NEW uap:Protocol "rho" 鈫?cloud-login PKCE browser round-trip works in the Store build
      (runtime deep_link().register writes are virtualized away in MSIX; declaration is the only path)

  Version is stamped by pack.ps1 (-Version) 鈥?4 segments, last must be 0, must exceed 1.0.5.0.
  DisplayName "Rho MD" must exactly match the name reserved in Partner Center before submission.
-->
<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:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap uap2 uap3 uap10 rescap" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest">
  <Identity Name="WUKODEV.MarkView-MarkdownReader" Publisher="CN=6BBADFB4-24CB-4A8D-BD0C-103528E494F3" Version="1.4.11.0" ProcessorArchitecture="x64" />
  <Properties>
    <DisplayName>Rho MD</DisplayName>
    <PublisherDisplayName>WUKO DEV</PublisherDisplayName>
    <Description>Rho MD 鈥?Markdown reader and notebook. Successor to MarkView.</Description>
    <Logo>Assets\StoreLogo.png</Logo>
    <uap10:PackageIntegrity>
      <uap10:Content Enforcement="on" />
    </uap10:PackageIntegrity>
  </Properties>
  <Resources>
    <Resource Language="en-us" />
  </Resources>
  <Dependencies>
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22621.0" />
  </Dependencies>
  <Capabilities>
    <rescap:Capability Name="runFullTrust" />
  </Capabilities>
  <Applications>
    <Application Id="MARKVIEW" Executable="Rho MD.exe" EntryPoint="Windows.FullTrustApplication">
      <uap:VisualElements BackgroundColor="transparent" DisplayName="Rho MD" Square150x150Logo="Assets\RhoMD-Square150x150Logo.png" Square44x44Logo="Assets\RhoMD-Square44x44Logo.png" Description="Rho MD 鈥?Markdown reader and notebook">
        <uap:DefaultTile Wide310x150Logo="Assets\RhoMD-Wide310x150Logo.png" Square310x310Logo="Assets\RhoMD-Square310x310Logo.png" Square71x71Logo="Assets\RhoMD-Square71x71Logo.png" />
      </uap:VisualElements>
      <Extensions>
        <uap:Extension Category="windows.protocol">
          <uap:Protocol Name="rho">
            <uap:DisplayName>Rho MD</uap:DisplayName>
          </uap:Protocol>
        </uap:Extension>
        <uap3:Extension Category="windows.fileTypeAssociation">
          <uap3:FileTypeAssociation Name="markdown">
            <uap:SupportedFileTypes>
              <uap:FileType>.markdown</uap:FileType>
            </uap:SupportedFileTypes>
            <uap:Logo>Assets\markdown.png</uap:Logo>
            <uap2:SupportedVerbs>
              <uap3:Verb Id="open" Parameters="&quot;%1&quot;">open</uap3:Verb>
            </uap2:SupportedVerbs>
          </uap3:FileTypeAssociation>
        </uap3:Extension>
        <uap3:Extension Category="windows.fileTypeAssociation">
          <uap3:FileTypeAssociation Name="md">
            <uap:SupportedFileTypes>
              <uap:FileType>.md</uap:FileType>
            </uap:SupportedFileTypes>
            <uap:Logo>Assets\markdown.png</uap:Logo>
            <uap2:SupportedVerbs>
              <uap3:Verb Id="open" Parameters="&quot;%1&quot;">open</uap3:Verb>
            </uap2:SupportedVerbs>
          </uap3:FileTypeAssociation>
        </uap3:Extension>
        <uap3:Extension Category="windows.fileTypeAssociation">
          <uap3:FileTypeAssociation Name="mdx">
            <uap:SupportedFileTypes>
              <uap:FileType>.mdx</uap:FileType>
            </uap:SupportedFileTypes>
            <uap:Logo>Assets\markdown.png</uap:Logo>
            <uap2:SupportedVerbs>
              <uap3:Verb Id="open" Parameters="&quot;%1&quot;">open</uap3:Verb>
            </uap2:SupportedVerbs>
          </uap3:FileTypeAssociation>
        </uap3:Extension>
      </Extensions>
    </Application>
  </Applications>
  <mp:PhoneIdentity PhoneProductId="af02b7b0-0520-4e98-8c05-2a0e1733af87" PhonePublisherId="e77cc0d8-8ff1-41c7-8078-182c01c8c82c" />
</Package>