feat: Add manifest, icons, build script for Microsoft Edge store package (#648)

* Add APPX manifest

* Point to extension location for icons

* Create APPX from a copy of production extension

* Update manifest to add author required for Edge

* Add blue-on-white icons for store

* Reference new blue-on-white store images

* Use larger logo image

* Restore to dev version number

* Don't check formatting of manifest, build script

* Add copyright header to PowerShell script

* Add copyright header to APPX manifest
This commit is contained in:
Peter Durham 2019-05-06 16:06:16 -07:00 коммит произвёл msft-github-bot
Родитель 44d4a7fb83
Коммит 7b3f354696
7 изменённых файлов: 65 добавлений и 1 удалений

Просмотреть файл

@ -4,8 +4,10 @@ extension/
.github/
test-results/
.DS_Store
AppXManifest.xml
copyright-header.txt
LICENSE
new-appx.ps1
yarn.lock
.prettierignore
docs/NOTICE.html

54
AppXManifest.xml Normal file
Просмотреть файл

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.
-->
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
IgnorableNamespaces="uap3">
<Identity
Name="Microsoft.AccessibilityInsightsforWeb"
Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
Version="1.0.4.0"/>
<Properties>
<DisplayName>Accessibility Insights for Web</DisplayName>
<PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
<Logo>extension\icons\brand\blue-on-white\brand-blue-on-white-150px.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop"
MinVersion="10.0.14393.0"
MaxVersionTested="10.0.14800.0" />
</Dependencies>
<Resources>
<Resource Language="en-us"/>
</Resources>
<Applications>
<Application Id="App">
<uap:VisualElements
AppListEntry="none"
DisplayName="Accessibility Insights for Web"
Square150x150Logo="extension\icons\brand\blue-on-white\brand-blue-on-white-150px.png"
Square44x44Logo="extension\icons\brand\blue-on-white\brand-blue-on-white-44px.png"
Description="Accessibility Insights for Web helps developers quickly find and fix accessibility issues."
BackgroundColor="white">
</uap:VisualElements>
<Extensions>
<uap3:Extension Category="windows.appExtension">
<uap3:AppExtension Name="com.microsoft.edge.extension"
Id="EdgeExtension"
PublicFolder="Extension"
DisplayName="Accessibility Insights for Web">
</uap3:AppExtension>
</uap3:Extension>
</Extensions>
</Application>
</Applications>
</Package>

8
new-appx.ps1 Normal file
Просмотреть файл

@ -0,0 +1,8 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
if (Test-Path ./drop/productionEdge) { Remove-Item ./drop/productionEdge -Recurse }
if (Test-Path ./drop/productionEdge.appx) { Remove-Item ./drop/productionEdge.appx }
Copy-Item ./drop/production ./drop/productionEdge -Recurse
Copy-Item ./AppXManifest.xml ./drop/productionEdge/AppXManifest.xml
&"c:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64\makeappx.exe" pack /h SHA256 /d .\drop\productionEdge /p .\drop\productionEdge.appx

Двоичные данные
src/icons/brand/blue-on-white/brand-blue-on-white-150px.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.8 KiB

Двоичные данные
src/icons/brand/blue-on-white/brand-blue-on-white-44px.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.7 KiB

Двоичные данные
src/icons/brand/blue-on-white/brand-blue-on-white-50px.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.1 KiB

Просмотреть файл

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Accessibility Insights for Web",
"author": "Microsoft",
"author": "Microsoft Corporation",
"description": "Accessibility Insights for Web helps developers quickly find and fix accessibility issues.",
"version": "1.0.4",
"browser_action": {