﻿<?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:desktop2="http://schemas.microsoft.com/appx/manifest/desktop/windows10/2" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:rescap3="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/3" xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10" xmlns:com2="http://schemas.microsoft.com/appx/manifest/com/windows10/2" xmlns:com3="http://schemas.microsoft.com/appx/manifest/com/windows10/3" IgnorableNamespaces="desktop2 rescap3" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest">
  <!--
    The 'desktop2' and 'rescap3' namespaces are marked as ignorable above,
    since they are only available with the Windows 10 "Creators Update",
    but we want to be able to target the Windows 10 "Anniversary Update".
  -->
  <Identity Name="SpotifyAB.SpotifyMusic" Version="1.290.451.0" ProcessorArchitecture="x64" Publisher="CN=453637B3-4E12-4CDF-B0D3-2A3C863BF6EF" />
  <Properties>
    <DisplayName>ms-resource:AppTitle</DisplayName>
    <PublisherDisplayName>Spotify AB</PublisherDisplayName>
    <Logo>Assets\StoreLogo.png</Logo>
  </Properties>
  <Resources>
    <!-- Default language specified first-->
    <Resource Language="en-US" />
    <Resource Language="af" />
    <Resource Language="am" />
    <Resource Language="ar" />
    <Resource Language="ar-EG" />
    <Resource Language="ar-MA" />
    <Resource Language="ar-SA" />
    <Resource Language="az-latn" />
    <Resource Language="bg" />
    <!--Resource Language="bho" /-->
    <Resource Language="bn" />
    <Resource Language="bs" />
    <Resource Language="ca" />
    <Resource Language="cs" />
    <Resource Language="da" />
    <Resource Language="de" />
    <Resource Language="el" />
    <Resource Language="en-GB" />
    <Resource Language="es" />
    <Resource Language="es-AR" />
    <Resource Language="es-MX" />
    <Resource Language="es-419" />
    <Resource Language="eu" />
    <Resource Language="et" />
    <Resource Language="fa" />
    <Resource Language="fi" />
    <Resource Language="fil" />
    <Resource Language="fr" />
    <Resource Language="fr-CA" />
    <Resource Language="gl" />
    <Resource Language="gu" />
    <Resource Language="he" />
    <Resource Language="hi" />
    <Resource Language="hr" />
    <Resource Language="hu" />
    <Resource Language="id" />
    <Resource Language="is" />
    <Resource Language="it" />
    <Resource Language="ja" />
    <Resource Language="kn" />
    <Resource Language="ko" />
    <Resource Language="lt" />
    <Resource Language="lv" />
    <Resource Language="mk" />
    <Resource Language="ml" />
    <Resource Language="mr" />
    <Resource Language="ms" />
    <Resource Language="nb" />
    <Resource Language="ne" />
    <Resource Language="nl" />
    <Resource Language="or" />
    <Resource Language="pa-IN" />
    <Resource Language="pa-PK" />
    <Resource Language="pl" />
    <Resource Language="pt-BR" />
    <Resource Language="pt-PT" />
    <Resource Language="ru" />
    <Resource Language="ro" />
    <Resource Language="sk" />
    <Resource Language="sl" />
    <Resource Language="sr-Latn" />
    <Resource Language="sv" />
    <Resource Language="sw" />
    <Resource Language="ta" />
    <Resource Language="te" />
    <Resource Language="th" />
    <Resource Language="tr" />
    <Resource Language="uk" />
    <Resource Language="ur" />
    <Resource Language="vi" />
    <Resource Language="zh-CN" />
    <Resource Language="zh-Hant" />
    <Resource Language="zh-Hant-HK" />
    <Resource Language="zh-TW" />
    <Resource Language="zu" />
    <Resource uap:Scale="100" />
    <Resource uap:Scale="125" />
    <Resource uap:Scale="150" />
    <Resource uap:Scale="200" />
    <Resource uap:Scale="400" />
  </Resources>
  <Dependencies>
    <!-- See: https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-known-issues#blue-screen-with-error-code-0x139-kernelsecuritycheckfailure -->
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.26100.0" />
    <!-- Required for the Windows 11 widget. -->
    <PackageDependency Name="Microsoft.WindowsAppRuntime.1.2" MinVersion="2000.677.1750.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <!-- Required for the Xbox GameBar widget. -->
    <PackageDependency Name="Microsoft.VCLibs.140.00" MinVersion="14.0.30035.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <!-- Required for uet dll wrapper. -->
    <PackageDependency Name="Microsoft.VCLibs.140.00.UWPDesktop" MinVersion="14.0.24217.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
  </Dependencies>
  <Capabilities>
    <Capability Name="internetClient" />
    <rescap:Capability Name="runFullTrust" />
    <rescap:Capability Name="packageQuery" />
    <!-- Required for Dashboard Widget-->
    <!--<rescap:Capability Name="globalMediaControl" />-->
  </Capabilities>
  <Extensions>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>RuntimeComponent.dll</Path>
        <ActivatableClass ActivatableClassId="RuntimeComponent.LiveTileUpdateTask" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="RuntimeComponent.UpdateTask" ThreadingModel="MTA" />
        <ActivatableClass ActivatableClassId="RuntimeComponent.PreinstallTask" ThreadingModel="MTA" />
        <ActivatableClass ActivatableClassId="RuntimeComponent.SessionConnectedTask" ThreadingModel="MTA" />
        <!-- The `AppServiceTask` provides Desktop Partner API functionality. -->
        <ActivatableClass ActivatableClassId="RuntimeComponent.AppServiceTask" ThreadingModel="both" />
      </InProcessServer>
    </Extension>
    <!-- The following extensions provide Xbox GameBar widget functionality.
         Under the Studio by Spotify Labs brand the GameBar widget drops, so these
         activatable-class + proxy-stub blocks (and the Microsoft.Gaming.XboxGameBar.*
         DLL/WinMD they reference) are swapped out via fragment selection. -->
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>Microsoft.Gaming.XboxGameBar.dll</Path>
        <ActivatableClass ActivatableClassId="Microsoft.Gaming.XboxGameBar.Input.XboxGameBarHotkeyWatcher" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Gaming.XboxGameBar.XboxGameBarAppTargetTracker" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Gaming.XboxGameBar.XboxGameBarWidget" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Gaming.XboxGameBar.XboxGameBarWidgetActivity" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Gaming.XboxGameBar.XboxGameBarWidgetNotificationManager" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Gaming.XboxGameBar.XboxGameBarWidgetControl" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Gaming.XboxGameBar.Authentication.XboxGameBarWebAuthenticationBroker" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Gaming.XboxGameBar.XboxGameBarForegroundWorker" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Gaming.XboxGameBar.XboxGameBarWidgetNotificationBuilder" ThreadingModel="both" />
      </InProcessServer>
    </Extension>
    <Extension Category="windows.activatableClass.proxyStub">
      <ProxyStub ClassId="00000355-0000-0000-C000-000000000046">
        <Path>Microsoft.Gaming.XboxGameBar.winmd</Path>
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarAppTargetHost" InterfaceId="38CDC43C-0A0E-4B3B-BBD3-A581AE220D53" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarAppTargetInfo" InterfaceId="D7689E93-5587-47D1-A42E-78D16B2FA807" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarAppTargetInfo2" InterfaceId="68930F3C-2FDF-44D3-A052-A417EA54CD98" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarActivityHost" InterfaceId="2B113C9B-E370-49B2-A20B-83E0F5737577" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarHotkeyManagerHost" InterfaceId="F6225A53-B34C-4833-9511-AA377B43316F" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetAuthHost" InterfaceId="DC263529-B12F-469E-BB35-B94069F5B15A" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetControlHost" InterfaceId="C309CAC7-8435-4082-8F37-784523747047" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetForegroundWorkerHost" InterfaceId="DDB52B57-FA83-420C-AFDE-6FA556E18B83" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetForegroundWorkerPrivate" InterfaceId="42BACDFC-BB28-4E71-99B4-24C034C7B7E0" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarNavigationKeyCombo" InterfaceId="5EEA3DBF-09BB-42A5-B491-CF561E33C172" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetActivatedEventArgsPrivate" InterfaceId="782535A7-9407-4572-BFCB-316B4086F102" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetHost" InterfaceId="5D12BC93-212B-4B9F-9091-76B73BF56525" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetHost2" InterfaceId="28717C8B-D8E8-47A8-AF47-A1D5263BAE9B" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetHost3" InterfaceId="3F5A3F12-C1E4-4942-B80D-3117BC948E29" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetHost4" InterfaceId="FA696D9E-2501-4B01-B26F-4BB85344740F" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetHost5" InterfaceId="A6C878CC-2B08-4B94-B1C3-222C6A913F3C" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetHost6" InterfaceId="CE6F0D73-C44F-4BBD-9652-A0FC52C37A34" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetHost7" InterfaceId="B7D246E1-F61B-43A2-9120-25D9AC31BB17" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetHost8" InterfaceId="0E4A1F7C-3D5B-4E8C-8F2A-6D9A0B2E5F7C" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetHost9" InterfaceId="BC40A15A-6961-4D04-A9CD-34680A0F5ACD" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetNotificationHost" InterfaceId="6F68D392-E4A9-46F7-A024-5275BC2FE7BA" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetNotificationPrivate" InterfaceId="C94C8DC8-C8B5-4560-AF6E-A588B558213A" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetPrivate" InterfaceId="22ABA97F-FB0F-4439-9BDD-2C67B2D5AA8F" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetPrivate2" InterfaceId="B2F7DB8C-7540-48DA-9B46-4E60CE0D9DEB" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetPrivate3" InterfaceId="4FB89FB6-7CB8-489D-8408-2269E6C733A1" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetPrivate4" InterfaceId="5638D65A-3733-48CC-90E5-984688D62786" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetPrivate5" InterfaceId="73B9289B-812C-4FA4-979B-180770DC92B3" />
        <Interface Name="Microsoft.Gaming.XboxGameBar.Private.IXboxGameBarWidgetPrivate6" InterfaceId="687766A8-6A24-4691-ADDC-88AA57582B47" />
      </ProxyStub>
    </Extension>
    <!-- See: https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-extensions -->
    <desktop2:Extension Category="windows.firewallRules">
      <desktop2:FirewallRules Executable="Spotify.exe">
        <!-- Allow incoming TCP traffic for "Local RPC" and "Loopback Redirect Server" HTTP(S) port ranges. -->
        <desktop2:Rule Direction="in" IPProtocol="TCP" LocalPortMin="4371" LocalPortMax="4379" Profile="all" />
        <desktop2:Rule Direction="in" IPProtocol="TCP" LocalPortMin="4381" LocalPortMax="4390" Profile="all" />
        <desktop2:Rule Direction="in" IPProtocol="TCP" LocalPortMin="8080" LocalPortMax="8082" Profile="all" />
        <desktop2:Rule Direction="in" IPProtocol="TCP" LocalPortMin="8443" LocalPortMax="8443" Profile="all" />
        <!-- Allow incoming TCP and UDP traffic on default "Chrome Remote Debugging" port. -->
        <desktop2:Rule Direction="in" IPProtocol="TCP" LocalPortMin="8088" LocalPortMax="8088" Profile="all" />
        <desktop2:Rule Direction="in" IPProtocol="UDP" LocalPortMin="8088" LocalPortMax="8088" Profile="all" />
        <!-- Allow incoming UDP traffic on default "Local File Sync Discovery" port. -->
        <desktop2:Rule Direction="in" IPProtocol="UDP" LocalPortMin="57621" LocalPortMax="57621" Profile="all" />
        <!-- Allow incoming TCP traffic on default "Local File Sync" ports. -->
        <desktop2:Rule Direction="in" IPProtocol="TCP" LocalPortMin="57621" LocalPortMax="57631" Profile="all" />
        <!-- Allow all outgoing TCP and UDP traffic. -->
        <desktop2:Rule Direction="out" IPProtocol="TCP" Profile="all" />
        <desktop2:Rule Direction="out" IPProtocol="UDP" Profile="all" />
      </desktop2:FirewallRules>
    </desktop2:Extension>
    <desktop2:Extension Category="windows.firewallRules">
      <desktop2:FirewallRules Executable="SpotifyLauncher.exe">
        <desktop2:Rule Direction="in" IPProtocol="TCP" Profile="all" />
        <desktop2:Rule Direction="out" IPProtocol="TCP" Profile="all" />
        <desktop2:Rule Direction="out" IPProtocol="UDP" Profile="all" />
      </desktop2:FirewallRules>
    </desktop2:Extension>
  </Extensions>
  <Applications>
    <!-- The main entry point is the migrator, which will either start migration or launch the app. -->
    <Application Id="Spotify" Executable="SpotifyMigrator.exe" EntryPoint="Windows.FullTrustApplication">
      <!-- The BackgroundColor property needs to match the background of Square44x44Logo.
           It's used as a mandatory padding around the icon. -->
      <uap:VisualElements AppListEntry="default" BackgroundColor="#1ed760" Description="Spotify" DisplayName="Spotify" Square44x44Logo="Assets\Square44x44Logo.png" Square150x150Logo="Assets\Square150x150Logo.png">
        <uap:DefaultTile ShortName="Spotify" Square71x71Logo="Assets\Square71x71Logo.png" Square310x310Logo="Assets\Square310x310Logo.png" Wide310x150Logo="Assets\Wide310x150Logo.png">
          <uap:ShowNameOnTiles>
            <uap:ShowOn Tile="square150x150Logo" />
            <uap:ShowOn Tile="square310x310Logo" />
          </uap:ShowNameOnTiles>
          <uap:TileUpdate Recurrence="halfHour" UriTemplate="https://spclient.wg.spotify.com/live-tile-service/v1/live-tile-xml?region={region}&amp;language={language}" />
        </uap:DefaultTile>
      </uap:VisualElements>
      <Extensions>
        <Extension Category="windows.backgroundTasks" EntryPoint="RuntimeComponent.LiveTileUpdateTask">
          <BackgroundTasks>
            <Task Type="timer" />
          </BackgroundTasks>
        </Extension>
        <!-- The `AppServiceTask` provides Desktop Partner API functionality. -->
        <uap:Extension Category="windows.appService" EntryPoint="RuntimeComponent.AppServiceTask">
          <uap3:AppService Name="spotify.partnerApi" SupportsRemoteSystems="true" />
        </uap:Extension>
        <uap3:Extension Category="windows.protocol">
          <uap3:Protocol Name="spotify" Parameters="--protocol-uri=&quot;%1&quot;" />
        </uap3:Extension>
        <uap3:Extension Category="windows.appUriHandler">
          <uap3:AppUriHandler desktop2:Parameters="--protocol-uri=&quot;%1&quot; --web-to-app-activation">
            <uap3:Host Name="open-local.spotify.com" />
            <uap3:Host Name="open.spotify.com" />
          </uap3:AppUriHandler>
        </uap3:Extension>
        <uap3:Extension Category="windows.appExecutionAlias" Executable="SpotifyMigrator.exe" EntryPoint="Windows.FullTrustApplication">
          <uap3:AppExecutionAlias>
            <desktop:ExecutionAlias Alias="Spotify.exe" />
          </uap3:AppExecutionAlias>
        </uap3:Extension>
        <Extension Category="windows.updateTask" EntryPoint="RuntimeComponent.UpdateTask" />
        <Extension Category="windows.preInstalledConfigTask" EntryPoint="RuntimeComponent.PreinstallTask" />
        <Extension Category="windows.backgroundTasks" EntryPoint="RuntimeComponent.SessionConnectedTask">
          <BackgroundTasks>
            <Task Type="systemEvent" />
          </BackgroundTasks>
        </Extension>
        <!-- When launched as a startup task, use a launcher, so we can pass the autostart flag. -->
        <desktop:Extension Category="windows.startupTask" Executable="SpotifyStartupTask.exe" EntryPoint="Windows.FullTrustApplication">
          <desktop:StartupTask TaskId="Spotify" Enabled="false" DisplayName="Spotify" />
        </desktop:Extension>
        <!-- See: https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-extensions -->
        <rescap3:Extension Category="windows.desktopAppMigration">
          <rescap3:DesktopAppMigration>
            <rescap3:DesktopApp ShortcutPath="%USERPROFILE%\Desktop\Spotify.lnk" />
            <rescap3:DesktopApp ShortcutPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\Spotify.lnk" />
            <rescap3:DesktopApp ShortcutPath="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Spotify.lnk" />
          </rescap3:DesktopAppMigration>
        </rescap3:Extension>
        <com:Extension Category="windows.comServer">
          <com:ComServer>
            <com:ExeServer Executable="Spotify.exe" DisplayName="Spotify" Arguments="-ToastActivated">
              <com:Class Id="5F86DC52-D653-4CFF-BAC7-C3A406AF8946" DisplayName="Toast activator" />
            </com:ExeServer>
          </com:ComServer>
        </com:Extension>
        <desktop:Extension Category="windows.toastNotificationActivation">
          <desktop:ToastNotificationActivation ToastActivatorCLSID="5F86DC52-D653-4CFF-BAC7-C3A406AF8946" />
        </desktop:Extension>
      </Extensions>
    </Application>
    <Application Id="SpotifyLauncher" Executable="SpotifyLauncher.exe" EntryPoint="Windows.FullTrustApplication">
      <uap:VisualElements BackgroundColor="#1ed760" Description="Spotify Launcher" DisplayName="Spotify Launcher" Square44x44Logo="Assets\Square44x44Logo.png" Square150x150Logo="Assets\Square150x150Logo.png" AppListEntry="none"></uap:VisualElements>
      <Extensions>
        <!-- Register ourselves as fullTrustProcess so we can be invoked from the update task RuntimeComponent -->
        <desktop:Extension Category="windows.fullTrustProcess" Executable="SpotifyLauncher.exe">
          <desktop:FullTrustProcess></desktop:FullTrustProcess>
        </desktop:Extension>
        <com:Extension Category="windows.comServer">
          <com:ComServer>
            <com:ExeServer Executable="SpotifyLauncher.exe" DisplayName="Spotify Launcher" Arguments="-ToastActivated">
              <com:Class Id="18A68F64-72DD-42CE-A75D-EDBDAC226F5D" DisplayName="Toast activator" />
            </com:ExeServer>
          </com:ComServer>
        </com:Extension>
        <desktop:Extension Category="windows.toastNotificationActivation">
          <desktop:ToastNotificationActivation ToastActivatorCLSID="18A68F64-72DD-42CE-A75D-EDBDAC226F5D" />
        </desktop:Extension>
      </Extensions>
    </Application>
    <!-- The following defines the Windows 11 Dashboard Widget Provider application. -->
    <Application Id="SpotifyWidgetProvider" Executable="SpotifyWidgetProvider.exe" EntryPoint="Windows.FullTrustApplication">
      <uap:VisualElements AppListEntry="none" BackgroundColor="transparent" Description="Spotify Widget Provider" DisplayName="Spotify Widget Provider" Square44x44Logo="Assets\Square44x44Logo.png" Square150x150Logo="Assets\Square150x150Logo.png"></uap:VisualElements>
      <Extensions>
        <com:Extension Category="windows.comServer">
          <com:ComServer>
            <com:ExeServer Executable="SpotifyWidgetProvider.exe" DisplayName="SpotifyWidgetProviderApp">
              <com:Class Id="BB18213E-738B-4B67-A9C4-3FB28699DFF4" DisplayName="SpotifyWidgetProvider" />
              <com:Class Id="A7A8D79F-1452-4637-BFD3-6DA67ABBDA4B" DisplayName="Toast activator" />
              <com:Class Id="E83487DE-B958-4F64-85CC-41FD42536F90" DisplayName="Content Update Background Task" />
            </com:ExeServer>
          </com:ComServer>
        </com:Extension>
        <uap3:Extension Category="windows.appExtension">
          <uap3:AppExtension Name="com.microsoft.windows.widgets" DisplayName="Spotify" Id="SpotifyWidgetApp" PublicFolder="Public">
            <uap3:Properties>
              <WidgetProvider>
                <ProviderIcons>
                  <Icon Path="Assets\Square44x44Logo.targetsize-96_altform-unplated.png" />
                </ProviderIcons>
                <Activation>
                  <CreateInstance ClassId="BB18213E-738B-4B67-A9C4-3FB28699DFF4" />
                </Activation>
                <Definitions>
                  <Definition Id="Spotify_Widget" DisplayName="Spotify" Description="Spotify Widget" AllowMultiple="false">
                    <Capabilities>
                      <Capability>
                        <Size Name="small" />
                      </Capability>
                      <Capability>
                        <Size Name="medium" />
                      </Capability>
                      <Capability>
                        <Size Name="large" />
                      </Capability>
                    </Capabilities>
                    <ThemeResources>
                      <Icons>
                        <Icon Path="Assets\Square44x44Logo.targetsize-96_altform-unplated.png" />
                      </Icons>
                      <Screenshots>
                        <Screenshot Path="Assets\WidgetScreenshot300x304Light.png" />
                      </Screenshots>
                      <DarkMode>
                        <Icons>
                          <Icon Path="Assets\Square44x44Logo.targetsize-96_altform-unplated.png" />
                        </Icons>
                        <Screenshots>
                          <Screenshot Path="Assets\WidgetScreenshot300x304Dark.png" />
                        </Screenshots>
                      </DarkMode>
                      <LightMode>
                        <Icons>
                          <Icon Path="Assets\Square44x44Logo.targetsize-96_altform-unplated.png" />
                        </Icons>
                        <Screenshots>
                          <Screenshot Path="Assets\WidgetScreenshot300x304Light.png" />
                        </Screenshots>
                      </LightMode>
                    </ThemeResources>
                  </Definition>
                </Definitions>
              </WidgetProvider>
            </uap3:Properties>
          </uap3:AppExtension>
        </uap3:Extension>
        <desktop:Extension Category="windows.toastNotificationActivation">
          <desktop:ToastNotificationActivation ToastActivatorCLSID="A7A8D79F-1452-4637-BFD3-6DA67ABBDA4B" />
        </desktop:Extension>
      </Extensions>
    </Application>
    <!-- The following defines the Xbox GameBar application. -->
    <Application Id="Widget" Executable="XboxGameBarSpotify.exe" EntryPoint="XboxGameBarSpotify.App">
      <uap:VisualElements DisplayName="Spotify Widget" Description="Spotify Xbox Game Bar Widget" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" BackgroundColor="transparent" AppListEntry="none" />
      <Extensions>
        <uap3:Extension Category="windows.appExtension">
          <uap3:AppExtension Name="microsoft.gameBarUIExtension" Id="SpotifyWidget" DisplayName="Spotify" Description="Keep the tunes rolling. Enjoy Spotify while gaming." PublicFolder="GameBar">
            <uap3:Properties>
              <GameBarWidget Type="Standard">
                <HomeMenuVisible>true</HomeMenuVisible>
                <PinningSupported>true</PinningSupported>
                <ActivateAfterInstall>true</ActivateAfterInstall>
                <Window>
                  <Size>
                    <Height>488</Height>
                    <Width>480</Width>
                    <MinHeight>194</MinHeight>
                    <MinWidth>320</MinWidth>
                    <MaxWidth>486</MaxWidth>
                  </Size>
                  <ResizeSupported>
                    <Horizontal>false</Horizontal>
                    <Vertical>true</Vertical>
                  </ResizeSupported>
                </Window>
              </GameBarWidget>
            </uap3:Properties>
          </uap3:AppExtension>
        </uap3:Extension>
      </Extensions>
    </Application>
  </Applications>
  <mp:PhoneIdentity PhoneProductId="caac1b9d-621b-4f96-b143-e10e1397740a" PhonePublisherId="6a5aab88-e163-4308-a5f2-5ed7f9510a2d" />
</Package>