summaryrefslogtreecommitdiffstats
path: root/browser/installer/windows/msix/AppxManifest.xml.in
blob: 9fc8e2902d4aa29defc7e85e7f0195430f4b8b61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!-- #filter substitution -->
<Package
  xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
  xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10"
  xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/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">

  <Identity Name="@APPX_IDENTITY@" Publisher="@APPX_PUBLISHER@" Version="@APPX_VERSION@" ProcessorArchitecture="@APPX_ARCH@" />
  <Properties>
    <DisplayName>@APPX_DISPLAYNAME@</DisplayName>
    <PublisherDisplayName>@APPX_PUBLISHER_DISPLAY_NAME@</PublisherDisplayName>
    <Description>@APPX_DESCRIPTION@</Description>
    <Logo>Assets\StoreLogo.png</Logo>
    <uap10:PackageIntegrity>
      <uap10:Content Enforcement="on" />
    </uap10:PackageIntegrity>
  </Properties>
  <Resources>
@APPX_RESOURCE_LANGUAGE_LIST@
  </Resources>
  <Dependencies>
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.1" />
  </Dependencies>
  <Capabilities>
    <rescap:Capability Name="runFullTrust" />
  </Capabilities>
  <Applications>
    <Application Id="App" Executable="VFS\ProgramFiles\@APPX_INSTDIR@\@MOZ_APP_NAME@.exe" EntryPoint="Windows.FullTrustApplication">
      <uap:VisualElements BackgroundColor="#20123A" DisplayName="@MOZ_APP_DISPLAYNAME@" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" Description="@MOZ_APP_DISPLAYNAME@">
        <uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\LargeTile.png" Square71x71Logo="Assets\SmallTile.png">
          <uap:ShowNameOnTiles>
            <uap:ShowOn Tile="square150x150Logo"/>
            <uap:ShowOn Tile="wide310x150Logo"/>
            <uap:ShowOn Tile="square310x310Logo"/>
          </uap:ShowNameOnTiles>
        </uap:DefaultTile>
      </uap:VisualElements>
      <Extensions>
        <uap3:Extension Category="windows.appExecutionAlias" EntryPoint="Windows.FullTrustApplication" Executable="VFS\ProgramFiles\@APPX_INSTDIR@\@MOZ_APP_NAME@.exe">
          <uap3:AppExecutionAlias>
            <desktop:ExecutionAlias Alias="@MOZ_APP_NAME@.exe" />
          </uap3:AppExecutionAlias>
        </uap3:Extension>
        <uap3:Extension Category="windows.fileTypeAssociation">
          <uap3:FileTypeAssociation Name="htm">
            <uap:SupportedFileTypes>
              <!-- Keep synchronized with
                   https://searchfox.org/mozilla-central/source/browser/installer/windows/nsis/shared.nsh
                   and `os.environment.launched_to_handle` and `os.environment.invoked_to_handle` telemetry in
                   https://searchfox.org/mozilla-central/source/browser/components/BrowserContentHandler.sys.mjs. -->
              <uap:FileType>.avif</uap:FileType>
              <uap:FileType>.htm</uap:FileType>
              <uap:FileType>.html</uap:FileType>
              <uap:FileType>.pdf</uap:FileType>
              <uap:FileType>.shtml</uap:FileType>
              <uap:FileType>.xht</uap:FileType>
              <uap:FileType>.xhtml</uap:FileType>
              <uap:FileType>.svg</uap:FileType>
              <uap:FileType>.webp</uap:FileType>
            </uap:SupportedFileTypes>
            <uap:Logo>Assets\Document44x44.png</uap:Logo>
            <uap2:SupportedVerbs>
              <uap3:Verb Id="open" Parameters="-osint -url &quot;%1&quot;">open</uap3:Verb>
            </uap2:SupportedVerbs>
          </uap3:FileTypeAssociation>
        </uap3:Extension>
        <uap3:Extension Category="windows.protocol">
          <uap3:Protocol Name="http" Parameters="-osint -url &quot;%1&quot;">
            <uap:DisplayName>http</uap:DisplayName>
            <uap:Logo>Assets\Document44x44.png</uap:Logo>
          </uap3:Protocol>
        </uap3:Extension>
        <uap3:Extension Category="windows.protocol">
          <uap3:Protocol Name="https" Parameters="-osint -url &quot;%1&quot;">
            <uap:DisplayName>https</uap:DisplayName>
            <uap:Logo>Assets\Document44x44.png</uap:Logo>
          </uap3:Protocol>
        </uap3:Extension>
        <uap3:Extension Category="windows.protocol">
          <uap3:Protocol Name="mailto" Parameters="-osint -url &quot;%1&quot;">
            <uap:DisplayName>mailto</uap:DisplayName>
            <uap:Logo>Assets\Document44x44.png</uap:Logo>
          </uap3:Protocol>
        </uap3:Extension>
        <!-- COM registrations for the notification server. -->
        <com:Extension Category="windows.comServer">
          <com:ComServer>
            <com:SurrogateServer DisplayName="NotificationServer"
                                 AppId="@MOZ_INOTIFICATIONACTIVATION_CLSID@">
              <com:Class Id="@MOZ_INOTIFICATIONACTIVATION_CLSID@"
                         Path="VFS\ProgramFiles\@APPX_INSTDIR@\notificationserver.dll"
                         ThreadingModel="Both" />
            </com:SurrogateServer>
          </com:ComServer>
        </com:Extension>
        <desktop:Extension Category="windows.toastNotificationActivation">
          <desktop:ToastNotificationActivation ToastActivatorCLSID="@MOZ_INOTIFICATIONACTIVATION_CLSID@" />
        </desktop:Extension>
      </Extensions>
    </Application>
  </Applications>
  <Extensions>
    <!-- These COM registrations allow Windows/MSAA to access Firefox accessibility features. -->
    <com:Extension Category="windows.comInterface">
      <com:ComInterface>
        <com:ProxyStub DisplayName="AccessibleMarshal"
                       Id="1814ceeb-49e2-407f-af99-fa755a7d2607"
                       Path="VFS\ProgramFiles\@APPX_INSTDIR@\AccessibleMarshal.dll" />
        <com:Interface Id="4e747be5-2052-4265-8af0-8ecad7aad1c0"
                       ProxyStubClsid="1814ceeb-49e2-407f-af99-fa755a7d2607" />
        <com:Interface Id="1814ceeb-49e2-407f-af99-fa755a7d2607"
                       ProxyStubClsid="1814ceeb-49e2-407f-af99-fa755a7d2607" />
        <com:Interface Id="0d68d6d0-d93d-4d08-a30d-f00dd1f45b24"
                       ProxyStubClsid="1814ceeb-49e2-407f-af99-fa755a7d2607" />
      </com:ComInterface>
    </com:Extension>
  </Extensions>
</Package>