Skip to content

Commit 6f7790f

Browse files
authored
Merge pull request #175 from Authenticator-Extension/edge
Port to edge
2 parents 842d7d4 + 13055c1 commit 6f7790f

15 files changed

Lines changed: 1831 additions & 73 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ node_modules
22
build
33
chrome
44
firefox
5+
edge
56
.vscode
67
.atom-build.yml
78
ci/authenticator-build-key.enc

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,14 @@ Authenticator is one of the [featured extensions on Firefox Add-ons this month](
1313
## Build Setup
1414

1515
``` bash
16-
# install typescript
17-
npm install -g typescript
18-
#install gts
19-
npm install -g gts
20-
# install dependencies
16+
# install typescript and gts
17+
npm install -g typescript gts
18+
# install development dependencies
2119
npm install
22-
# check typescript style
23-
gts check
24-
# try to auto fix style issue
20+
# fix code style issues
2521
gts fix
26-
# compile for Chrome
27-
npm run chrome
28-
# compile for Firefox
29-
npm run firefox
22+
# compile
23+
npm run [chrome, firefox, edge]
3024
```
25+
26+
Note that Windows users should download [Cygwin](http://cygwin.com/) to build. Building for Edge requires the [Windows App Certification Kit](https://developer.microsoft.com/en-us/windows/develop/app-certification-kit)

edge-files/AppXManifest.xml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Package
3+
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
4+
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
5+
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
6+
IgnorableNamespaces="uap3">
7+
8+
<Identity
9+
Name="2184mymindstorm.AuthenticatorExtension"
10+
Publisher="CN=A72AD439-2119-4B82-B629-3302B9AF8944"
11+
Version="5.1.0.0"/>
12+
13+
<Properties>
14+
<DisplayName>Authenticator Extension</DisplayName>
15+
<PublisherDisplayName>mymindstorm</PublisherDisplayName>
16+
<Logo>Assets/icon_50.png</Logo>
17+
</Properties>
18+
19+
<Dependencies>
20+
<TargetDeviceFamily Name="Windows.Desktop"
21+
MinVersion="10.0.14393.0"
22+
MaxVersionTested="10.0.14800.0" />
23+
</Dependencies>
24+
25+
<Resources>
26+
<Resource Language="en-us"/>
27+
<Resource Language="cs"/>
28+
<Resource Language="de"/>
29+
<Resource Language="es"/>
30+
<Resource Language="fr"/>
31+
<Resource Language="id"/>
32+
<Resource Language="it"/>
33+
<Resource Language="ja"/>
34+
<Resource Language="pl"/>
35+
<Resource Language="ru"/>
36+
<Resource Language="sv"/>
37+
<Resource Language="tr"/>
38+
<Resource Language="vi"/>
39+
<Resource Language="zh-cn"/>
40+
<Resource Language="zh-tw"/>
41+
</Resources>
42+
43+
<Applications>
44+
<Application Id="App">
45+
<uap:VisualElements
46+
AppListEntry="none"
47+
DisplayName="Authenticator Extension"
48+
Square150x150Logo="Assets/icon_150.png"
49+
Square44x44Logo="Assets/icon_44.png"
50+
Description="Authenticator generates 2-Step Verification codes in your browser."
51+
BackgroundColor="white">
52+
</uap:VisualElements>
53+
<Extensions>
54+
<uap3:Extension Category="windows.appExtension">
55+
<uap3:AppExtension Name="com.microsoft.edge.extension"
56+
Id="EdgeExtension"
57+
PublicFolder="Extension"
58+
DisplayName="Authenticator Extension">
59+
</uap3:AppExtension>
60+
</uap3:Extension>
61+
</Extensions>
62+
</Application>
63+
</Applications>
64+
</Package>

0 commit comments

Comments
 (0)