Skip to content

Commit

Permalink
Merge pull request #775 from Authenticator-Extension/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mymindstorm authored Oct 25, 2021
2 parents fc8e039 + 16d6b65 commit c0b42a6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@
# install development dependencies
npm install
# compile
npm run [chrome, firefox]
npm run [chrome, firefox, prod]
```

To reproduce a build:

``` bash
npm ci
npm run prod
```

## Development (Chrome)

``` bash
# install development dependencies
npm install
npm install
# compiles the Chrome extension to the `./test/chrome` directory
npm run dev:chrome
# load the unpacked extension from the `./test/chrome/ directory in Chrome
Expand Down
2 changes: 1 addition & 1 deletion manifests/manifest-chrome.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extName__",
"short_name": "__MSG_extShortName__",
"version": "6.3.3",
"version": "6.3.4",
"default_locale": "en",
"description": "__MSG_extDesc__",
"icons": {
Expand Down
2 changes: 1 addition & 1 deletion manifests/manifest-edge.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Authenticator: 2FA Client",
"short_name": "__MSG_extShortName__",
"version": "6.3.3",
"version": "6.3.4",
"default_locale": "en",
"description": "__MSG_extDesc__",
"icons": {
Expand Down
2 changes: 1 addition & 1 deletion manifests/manifest-firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extName__",
"short_name": "__MSG_extShortName__",
"version": "6.3.3",
"version": "6.3.4",
"default_locale": "en",
"description": "__MSG_extDesc__",
"applications": {
Expand Down
1 change: 0 additions & 1 deletion src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
getBackupToken(message.action);
} else if (message.action === "lock") {
cachedPassphrase = "";
document.cookie = 'passphrase=";expires=Thu, 01 Jan 1970 00:00:00 GMT"';
} else if (message.action === "resetAutolock") {
clearTimeout(autolockTimeout);
setAutolock();
Expand Down

0 comments on commit c0b42a6

Please sign in to comment.