Skip to content

Commit f36b172

Browse files
committed
edge 5.3.2
- disabled scanning - fixed duplicate backup buttons
1 parent ec47727 commit f36b172

File tree

6 files changed

+6
-19
lines changed

6 files changed

+6
-19
lines changed

edge-files/AppXManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<Identity
99
Name="2184mymindstorm.AuthenticatorExtension"
1010
Publisher="CN=A72AD439-2119-4B82-B629-3302B9AF8944"
11-
Version="5.2.2.0"/>
11+
Version="5.3.2.0"/>
1212

1313
<Properties>
1414
<DisplayName>Authenticator Extension</DisplayName>

manifest-edge.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"storage"
5757
],
5858
"short_name": "__MSG_extShortName__",
59-
"version": "5.2.2",
59+
"version": "5.3.2",
6060
"web_accessible_resources": [
6161
"view/qr.html",
6262
"images/scan.gif"

src/background.ts

-2
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ function getBackupToken(service: string) {
268268
chrome.runtime.onInstalled.addListener(async (details) => {
269269
if (details.reason !== 'install') {
270270
return;
271-
} else if (await ManagedStorage.get('disableInstallHelp')) {
272-
return;
273271
}
274272

275273
let url: string|null = null;

src/models/storage.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
class BrowserStorage {
77
private static async getStorageLocation() {
8-
const managedLocation = await ManagedStorage.get('storageArea');
8+
const managedLocation = 'false';
9+
//@ts-ignore
910
if (managedLocation === 'sync' || managedLocation === 'local') {
1011
return new Promise((resolve) => {
1112
if (localStorage.storageLocation !== managedLocation) {

src/ui/menu.ts

+2-9
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ async function openHelp() {
6565
'https://github.com/Authenticator-Extension/Authenticator/wiki/Edge-Issues';
6666
}
6767

68-
const feedbackURL = await ManagedStorage.get('feedbackURL');
68+
const feedbackURL = null;
6969
if (typeof feedbackURL === 'string' && feedbackURL) {
7070
url = feedbackURL;
7171
}
@@ -75,14 +75,7 @@ async function openHelp() {
7575

7676
let backupDisabled: boolean|string;
7777
let storageArea: boolean|string;
78-
79-
ManagedStorage.get('disableBackup').then((value) => {
80-
backupDisabled = value;
81-
});
82-
83-
ManagedStorage.get('storageArea').then((value) => {
84-
storageArea = value;
85-
});
78+
backupDisabled = true;
8679

8780
async function menu(_ui: UI) {
8881
const version = getVersion();

view/popup.html

-5
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<div class="icon" id="i-menu" title="{{ i18n.settings }}" v-on:click="showMenu()" v-show="!class.edit"><svg><use xlink:href="../css/solid.svg#cog"></use></svg></div>
2626
<div class="icon" id="i-lock" title="{{ i18n.lock }}" v-on:click="lock()" v-show="!class.edit && encryption.getEncryptionStatus()"><svg><use xlink:href="../css/solid.svg#lock"></use></svg></div>
2727
<div class="icon" id="i-sync" v-bind:style="{left: encryption.getEncryptionStatus() ? '70px' : '45px'}" v-show="(dropboxToken !== '' || driveToken !== '') && !class.edit"><svg><use xlink:href="../css/solid.svg#sync-alt"></use></svg></div>
28-
<div class="icon" id="i-qr" title="{{ i18n.add_qr }}" v-show="!class.edit" v-on:click="beginCapture()"><svg><use xlink:href="../images/scan.svg#scan"></use></svg></div>
2928
<div class="icon" id="i-edit" title="{{ i18n.edit }}" v-if="!class.edit" v-on:click="editEntry()"><svg><use xlink:href="../css/solid.svg#pencil-alt"></use></svg></div>
3029
<div class="icon" id="i-edit" title="{{ i18n.edit }}" v-else v-on:click="editEntry()"><svg><use xlink:href="../css/solid.svg#check"></use></svg></div>
3130
</div>
@@ -122,7 +121,6 @@
122121
<!-- ADD ACCOUNT -->
123122
<div v-show="info === 'account'">
124123
<div v-show="!newAccount.show">
125-
<div class="button" v-on:click="beginCapture()">{{ i18n.add_qr }}</div>
126124
<div class="button" v-on:click="addAccountManually()">{{ i18n.add_secret }}</div>
127125
</div>
128126
<div v-show="newAccount.show">
@@ -161,9 +159,6 @@
161159
<div class="text warning" v-if="!encryption.getEncryptionStatus()">{{ i18n.export_info }}</div>
162160
<div class="text warning" v-if="unsupportedAccounts">{{ i18n.otp_unsupported_warn }}</div>
163161
<a class="button" v-on:click="showEdgeBugWarning()" v-if="isEdge()">{{ i18n.download_backup }}</a>
164-
<a download="authenticator.txt" v-bind:href="exportOneLineOtpAuthFile" v-if="!unsupportedAccounts" class="button" target="_blank">{{ i18n.download_backup }}</a>
165-
<a download="authenticator.json" v-bind:href="exportFile" class="button" target="_blank" v-else>{{ i18n.download_backup }}</a>
166-
<a download="authenticator.json" v-bind:href="exportEncryptedFile" v-if="encryption.getEncryptionStatus()" class="button" target="_blank">{{ i18n.download_enc_backup }}</a>
167162
<a class="button" href="import.html" target="_blank" v-if="!isEdge()">{{ i18n.import_backup }}</a>
168163
<!-- Workaround for https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/18438862 -->
169164
<a class="button" v-on:click="createWindow('view/import.html')" v-else>{{ i18n.import_backup }}</a>

0 commit comments

Comments
 (0)