Skip to content

Commit f90ba3d

Browse files
committed
6.3.2
change extension name in edge due to certification failure
1 parent 15999b9 commit f90ba3d

File tree

4 files changed

+74
-5
lines changed

4 files changed

+74
-5
lines changed

manifests/manifest-chrome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "__MSG_extName__",
44
"short_name": "__MSG_extShortName__",
5-
"version": "6.3.1",
5+
"version": "6.3.2",
66
"default_locale": "en",
77
"description": "__MSG_extDesc__",
88
"icons": {

manifests/manifest-edge.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"manifest_version": 2,
3+
"name": "Authenticator: Two-Factor Authentication Client",
4+
"short_name": "__MSG_extShortName__",
5+
"version": "6.3.2",
6+
"default_locale": "en",
7+
"description": "__MSG_extDesc__",
8+
"icons": {
9+
"16": "images/icon16.png",
10+
"48": "images/icon48.png",
11+
"128": "images/icon128.png"
12+
},
13+
"browser_action": {
14+
"default_icon": {
15+
"19": "images/icon19.png",
16+
"38": "images/icon38.png"
17+
},
18+
"default_title": "__MSG_extShortName__",
19+
"default_popup": "view/popup.html"
20+
},
21+
"commands": {
22+
"_execute_browser_action": {},
23+
"scan-qr": {
24+
"description": "Scan a QR code"
25+
}
26+
},
27+
"options_ui": {
28+
"page": "view/options.html",
29+
"chrome_style": true
30+
},
31+
"storage": {
32+
"managed_schema": "schema.json"
33+
},
34+
"oauth2": {
35+
"client_id": "292457304165-u8ve4j79gag5o231n5u2pdtdrbfdo1hh.apps.googleusercontent.com",
36+
"scopes": [
37+
"https://www.googleapis.com/auth/drive.file"
38+
]
39+
},
40+
"background": {
41+
"scripts": [
42+
"dist/background.js"
43+
],
44+
"persistent": true
45+
},
46+
"sandbox": {
47+
"pages": [
48+
"view/argon.html"
49+
],
50+
"content_security_policy": "sandbox allow-scripts; script-src 'self' 'unsafe-eval';"
51+
},
52+
"permissions": [
53+
"activeTab",
54+
"storage",
55+
"identity"
56+
],
57+
"optional_permissions": [
58+
"clipboardWrite",
59+
"https://www.google.com/",
60+
"https://*.dropboxapi.com/*",
61+
"https://www.googleapis.com/*",
62+
"https://accounts.google.com/o/oauth2/revoke",
63+
"https://graph.microsoft.com/me/*",
64+
"https://login.microsoftonline.com/common/oauth2/v2.0/token"
65+
],
66+
"offline_enabled": true,
67+
"content_security_policy": "script-src 'self'; font-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; connect-src https://www.google.com/ https://*.dropboxapi.com https://www.googleapis.com/ https://accounts.google.com/o/oauth2/revoke https://login.microsoftonline.com/common/oauth2/v2.0/token https://graph.microsoft.com/; default-src 'none'"
68+
}

manifests/manifest-firefox.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"manifest_version": 2,
3-
"name": "__MSG_extName__",
3+
"name": "Authenticator: Two-Factor Authentication Client",
44
"short_name": "__MSG_extShortName__",
5-
"version": "6.3.1",
5+
"version": "6.3.2",
66
"default_locale": "en",
77
"description": "__MSG_extDesc__",
88
"applications": {

scripts/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ CREDREGEX='^.*".+".*".+".*".+".*".+".*".+".*$'
1313
STYLEFILES="./src/* ./src/**/* ./src/**/**/* ./src/**/**/**/* ./sass/*.scss"
1414
set -e
1515

16-
if [[ $PLATFORM != "chrome" ]] && [[ $PLATFORM != "firefox" ]] && [[ $PLATFORM != "prod" ]] && [[ $PLATFORM != "test" ]]; then
16+
if [[ $PLATFORM != "chrome" ]] && [[ $PLATFORM != "firefox" ]] && [[ $PLATFORM != "edge" ]] && [[ $PLATFORM != "prod" ]] && [[ $PLATFORM != "test" ]]; then
1717
echo "Invalid platform type. Supported platforms are 'chrome', 'firefox', 'test', and 'prod'"
1818
exit 1
1919
fi
@@ -80,14 +80,15 @@ postCompile () {
8080
cp manifests/manifest-$1.json $1/manifest.json
8181
fi
8282

83-
if [[ $1 = "chrome" ]]; then
83+
if [[ $1 = "chrome" ]] || [[ $1 = "edge" ]]; then
8484
cp manifests/schema-chrome.json $1/schema.json
8585
fi
8686
}
8787

8888
if [[ $PLATFORM = "prod" ]]; then
8989
postCompile "chrome"
9090
postCompile "firefox"
91+
postCompile "edge"
9192
mkdir release
9293
mv chrome firefox release
9394
elif [[ $PLATFORM = "test" ]]; then

0 commit comments

Comments
 (0)