mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 05:43:41 +00:00
[PM-27847] Enable biometric IPC on mac dmg (#16247)
* Enable biometric IPC on mac dmg * Remove i18n string
This commit is contained in:
@@ -837,22 +837,6 @@ export class SettingsComponent implements OnInit, OnDestroy {
|
|||||||
ipc.platform.allowBrowserintegrationOverride || ipc.platform.isDev;
|
ipc.platform.allowBrowserintegrationOverride || ipc.platform.isDev;
|
||||||
|
|
||||||
if (!skipSupportedPlatformCheck) {
|
if (!skipSupportedPlatformCheck) {
|
||||||
if (
|
|
||||||
ipc.platform.deviceType === DeviceType.MacOsDesktop &&
|
|
||||||
!this.platformUtilsService.isMacAppStore()
|
|
||||||
) {
|
|
||||||
await this.dialogService.openSimpleDialog({
|
|
||||||
title: { key: "browserIntegrationUnsupportedTitle" },
|
|
||||||
content: { key: "browserIntegrationMasOnlyDesc" },
|
|
||||||
acceptButtonText: { key: "ok" },
|
|
||||||
cancelButtonText: null,
|
|
||||||
type: "warning",
|
|
||||||
});
|
|
||||||
|
|
||||||
this.form.controls.enableBrowserIntegration.setValue(false);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ipc.platform.isWindowsStore) {
|
if (ipc.platform.isWindowsStore) {
|
||||||
await this.dialogService.openSimpleDialog({
|
await this.dialogService.openSimpleDialog({
|
||||||
title: { key: "browserIntegrationUnsupportedTitle" },
|
title: { key: "browserIntegrationUnsupportedTitle" },
|
||||||
|
|||||||
@@ -2150,9 +2150,6 @@
|
|||||||
"browserIntegrationErrorDesc": {
|
"browserIntegrationErrorDesc": {
|
||||||
"message": "An error has occurred while enabling browser integration."
|
"message": "An error has occurred while enabling browser integration."
|
||||||
},
|
},
|
||||||
"browserIntegrationMasOnlyDesc": {
|
|
||||||
"message": "Unfortunately browser integration is only supported in the Mac App Store version for now."
|
|
||||||
},
|
|
||||||
"browserIntegrationWindowsStoreDesc": {
|
"browserIntegrationWindowsStoreDesc": {
|
||||||
"message": "Unfortunately browser integration is currently not supported in the Microsoft Store version."
|
"message": "Unfortunately browser integration is currently not supported in the Microsoft Store version."
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -70,8 +70,7 @@ export function isWindowsPortable() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We block the browser integration on some unsupported platforms, which also
|
* We block the browser integration on some unsupported platforms prevents
|
||||||
* blocks partially supported platforms (mac .dmg in dev builds) / prevents
|
|
||||||
* experimenting with the feature for QA. So this env var allows overriding
|
* experimenting with the feature for QA. So this env var allows overriding
|
||||||
* the block.
|
* the block.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user