<?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:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
   xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
   IgnorableNamespaces="uap uap2 uap3 desktop rescap">
  <Identity Name="TelegramMessengerLLP.TelegramDesktop"
    ProcessorArchitecture="ARCHITECTURE"
    Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
    Version="4.10.3.0" />
  <Properties>
    <DisplayName>Telegram Desktop</DisplayName>
    <PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
    <Description>Telegram Desktop official messenger</Description>
    <Logo>Assets\logo\logo.png</Logo>
  </Properties>
  <Resources>
    <Resource Language="en-us" />
  </Resources>
  <Dependencies>
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14316.0" MaxVersionTested="10.0.14316.0" />
  </Dependencies>
  <Capabilities>
    <rescap:Capability Name="runFullTrust"/>
  </Capabilities>
  <Applications>
    <Application Id="Telegram.TelegramDesktop.Store" Executable="Telegram.exe" EntryPoint="Windows.FullTrustApplication">
      <uap:VisualElements
       BackgroundColor="#1e94d0"
       DisplayName="Telegram Desktop"
       Square150x150Logo="Assets\logo150\logo150.png"
       Square44x44Logo="Assets\logo44\logo44.png"
       Description="Telegram Desktop official messenger" />
      <Extensions>
        <uap3:Extension Category="windows.protocol">
          <uap3:Protocol Name="tg" Parameters="-- &quot;%1&quot;" />
        </uap3:Extension>
        <desktop:Extension
          Category="windows.startupTask"
          Executable="StartupTask.exe"
          EntryPoint="Windows.FullTrustApplication">
          <desktop:StartupTask
            TaskId="TelegramStartupTask"
            Enabled="false"
            DisplayName="Telegram Desktop" />
        </desktop:Extension>
      </Extensions>
    </Application>
  </Applications>
</Package>
