mirror of https://github.com/keeweb/keeweb
fixed extension version
parent
3ca5f94b9b
commit
f0bbc54fd5
|
@ -250,14 +250,17 @@ function getAvailableFiles(request) {
|
|||
}
|
||||
|
||||
function getVersion(request) {
|
||||
const extensionName = getClient(request).connection.extensionName;
|
||||
return extensionName ? RuntimeInfo.version : KnownAppVersions.KeePassXC;
|
||||
return isKeePassXcBrowser(request) ? KnownAppVersions.KeePassXC : RuntimeInfo.version;
|
||||
}
|
||||
|
||||
function isKeeWebConnect(request) {
|
||||
return getClient(request).connection.extensionName === 'KeeWeb Connect';
|
||||
}
|
||||
|
||||
function isKeePassXcBrowser(request) {
|
||||
return getClient(request).connection.extensionName === 'KeePassXC-Browser';
|
||||
}
|
||||
|
||||
function focusKeeWeb() {
|
||||
logger.debug('Focus KeeWeb');
|
||||
if (Launcher) {
|
||||
|
|
Loading…
Reference in New Issue