tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

AppxManifest.xml.in (7271B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
      3 - License, v. 2.0. If a copy of the MPL was not distributed with this file,
      4 - You can obtain one at http://mozilla.org/MPL/2.0/. -->
      5 <!-- #filter substitution -->
      6 <Package
      7   xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
      8   xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10"
      9   xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
     10   xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
     11   xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2"
     12   xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
     13   xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5"
     14   xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
     15   xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
     16   IgnorableNamespaces="uap uap2 uap3 uap5 uap10 rescap">
     17 
     18   <Identity Name="@APPX_IDENTITY@" Publisher="@APPX_PUBLISHER@" Version="@APPX_VERSION@" ProcessorArchitecture="@APPX_ARCH@" />
     19   <Properties>
     20     <DisplayName>@APPX_DISPLAYNAME@</DisplayName>
     21     <PublisherDisplayName>@APPX_PUBLISHER_DISPLAY_NAME@</PublisherDisplayName>
     22     <Description>@APPX_DESCRIPTION@</Description>
     23     <Logo>Assets\StoreLogo.png</Logo>
     24     <uap10:PackageIntegrity>
     25       <uap10:Content Enforcement="on" />
     26     </uap10:PackageIntegrity>
     27   </Properties>
     28   <Resources>
     29 @APPX_RESOURCE_LANGUAGE_LIST@
     30   </Resources>
     31   <Dependencies>
     32     <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22621.1555" />
     33   </Dependencies>
     34   <Capabilities>
     35     <rescap:Capability Name="runFullTrust" />
     36   </Capabilities>
     37   <Applications>
     38     <Application Id="App" Executable="VFS\ProgramFiles\@APPX_INSTDIR@\@MOZ_APP_NAME@.exe" EntryPoint="Windows.FullTrustApplication">
     39       <uap:VisualElements BackgroundColor="#20123A" DisplayName="@MOZ_APP_DISPLAYNAME@" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" Description="@MOZ_APP_DISPLAYNAME@">
     40         <uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\LargeTile.png" Square71x71Logo="Assets\SmallTile.png">
     41           <uap:ShowNameOnTiles>
     42             <uap:ShowOn Tile="square150x150Logo"/>
     43             <uap:ShowOn Tile="wide310x150Logo"/>
     44             <uap:ShowOn Tile="square310x310Logo"/>
     45           </uap:ShowNameOnTiles>
     46         </uap:DefaultTile>
     47       </uap:VisualElements>
     48       <Extensions>
     49         <uap3:Extension Category="windows.appExecutionAlias" EntryPoint="Windows.FullTrustApplication" Executable="VFS\ProgramFiles\@APPX_INSTDIR@\@MOZ_APP_NAME@.exe">
     50           <uap3:AppExecutionAlias>
     51             <desktop:ExecutionAlias Alias="@MOZ_APP_NAME@.exe" />
     52           </uap3:AppExecutionAlias>
     53         </uap3:Extension>
     54         <uap3:Extension Category="windows.fileTypeAssociation">
     55           <uap3:FileTypeAssociation Name="htm">
     56             <uap:SupportedFileTypes>
     57               <!-- Keep synchronized with
     58                    https://searchfox.org/mozilla-central/source/browser/installer/windows/nsis/shared.nsh
     59                    and `os.environment.launched_to_handle` and `os.environment.invoked_to_handle` telemetry in
     60                    https://searchfox.org/mozilla-central/source/browser/components/BrowserContentHandler.sys.mjs. -->
     61               <uap:FileType>.avif</uap:FileType>
     62               <uap:FileType>.htm</uap:FileType>
     63               <uap:FileType>.html</uap:FileType>
     64               <uap:FileType>.pdf</uap:FileType>
     65               <uap:FileType>.shtml</uap:FileType>
     66               <uap:FileType>.xht</uap:FileType>
     67               <uap:FileType>.xhtml</uap:FileType>
     68               <uap:FileType>.svg</uap:FileType>
     69               <uap:FileType>.webp</uap:FileType>
     70             </uap:SupportedFileTypes>
     71             <uap:Logo>Assets\Document44x44.png</uap:Logo>
     72             <uap2:SupportedVerbs>
     73               <uap3:Verb Id="open" Parameters="-osint -url &quot;%1&quot;">open</uap3:Verb>
     74             </uap2:SupportedVerbs>
     75           </uap3:FileTypeAssociation>
     76         </uap3:Extension>
     77         <uap3:Extension Category="windows.protocol">
     78           <uap3:Protocol Name="http" Parameters="-osint -url &quot;%1&quot;">
     79             <uap:DisplayName>http</uap:DisplayName>
     80             <uap:Logo>Assets\Document44x44.png</uap:Logo>
     81           </uap3:Protocol>
     82         </uap3:Extension>
     83         <uap3:Extension Category="windows.protocol">
     84           <uap3:Protocol Name="https" Parameters="-osint -url &quot;%1&quot;">
     85             <uap:DisplayName>https</uap:DisplayName>
     86             <uap:Logo>Assets\Document44x44.png</uap:Logo>
     87           </uap3:Protocol>
     88         </uap3:Extension>
     89         <uap3:Extension Category="windows.protocol">
     90           <uap3:Protocol Name="mailto" Parameters="-osint -url &quot;%1&quot;">
     91             <uap:DisplayName>mailto</uap:DisplayName>
     92             <uap:Logo>Assets\Document44x44.png</uap:Logo>
     93           </uap3:Protocol>
     94         </uap3:Extension>
     95         <!-- COM registrations for the notification server. -->
     96         <com:Extension Category="windows.comServer">
     97           <com:ComServer>
     98             <com:SurrogateServer DisplayName="NotificationServer"
     99                                  AppId="@MOZ_INOTIFICATIONACTIVATION_CLSID@">
    100               <com:Class Id="@MOZ_INOTIFICATIONACTIVATION_CLSID@"
    101                          Path="VFS\ProgramFiles\@APPX_INSTDIR@\notificationserver.dll"
    102                          ThreadingModel="Both" />
    103             </com:SurrogateServer>
    104           </com:ComServer>
    105         </com:Extension>
    106         <uap5:Extension
    107           Category="windows.startupTask"
    108           Executable="VFS\ProgramFiles\@APPX_INSTDIR@\@MOZ_APP_NAME@.exe"
    109           EntryPoint="Windows.FullTrustApplication"
    110           uap10:Parameters="-os-autostart">
    111           <uap5:StartupTask
    112             TaskId="LaunchOnLogin"
    113             Enabled="false"
    114             DisplayName="@MOZ_APP_DISPLAYNAME@" />
    115         </uap5:Extension>
    116         <desktop:Extension Category="windows.toastNotificationActivation">
    117           <desktop:ToastNotificationActivation ToastActivatorCLSID="@MOZ_INOTIFICATIONACTIVATION_CLSID@" />
    118         </desktop:Extension>
    119       </Extensions>
    120     </Application>
    121   </Applications>
    122   <Extensions>
    123     <!-- These COM registrations allow Windows/MSAA to access Firefox accessibility features. -->
    124     <com:Extension Category="windows.comInterface">
    125       <com:ComInterface>
    126         <com:ProxyStub DisplayName="AccessibleMarshal"
    127                        Id="1814ceeb-49e2-407f-af99-fa755a7d2607"
    128                        Path="VFS\ProgramFiles\@APPX_INSTDIR@\AccessibleMarshal.dll" />
    129         <com:Interface Id="4e747be5-2052-4265-8af0-8ecad7aad1c0"
    130                        ProxyStubClsid="1814ceeb-49e2-407f-af99-fa755a7d2607" />
    131         <com:Interface Id="1814ceeb-49e2-407f-af99-fa755a7d2607"
    132                        ProxyStubClsid="1814ceeb-49e2-407f-af99-fa755a7d2607" />
    133         <com:Interface Id="0d68d6d0-d93d-4d08-a30d-f00dd1f45b24"
    134                        ProxyStubClsid="1814ceeb-49e2-407f-af99-fa755a7d2607" />
    135       </com:ComInterface>
    136     </com:Extension>
    137   </Extensions>
    138 </Package>