mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
Add entitlements to mac, disable browser integration on Windows Store
This commit is contained in:
@@ -23,6 +23,7 @@ import { ConstantsService } from 'jslib/services/constants.service';
|
||||
import { ElectronConstants } from 'jslib/electron/electronConstants';
|
||||
|
||||
import { Utils } from 'jslib/misc/utils';
|
||||
import { isWindowsStore } from 'jslib/electron/utils';
|
||||
|
||||
@Component({
|
||||
selector: 'app-settings',
|
||||
@@ -356,6 +357,14 @@ export class SettingsComponent implements OnInit {
|
||||
this.i18nService.t('browserIntegrationMasOnlyTitle'),
|
||||
this.i18nService.t('ok'), null, 'warning');
|
||||
|
||||
this.enableBrowserIntegration = false;
|
||||
return;
|
||||
} else if (isWindowsStore()) {
|
||||
await this.platformUtilsService.showDialog(
|
||||
this.i18nService.t('browserIntegrationWindowsStoreDesc'),
|
||||
this.i18nService.t('browserIntegrationWindowsStoreTitle'),
|
||||
this.i18nService.t('ok'), null, 'warning');
|
||||
|
||||
this.enableBrowserIntegration = false;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user