mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-28 12:35:40 +01:00
Merge pull request #678 from bitwarden/hotfix/mas-entitlements
Add entitlements to mac, disable browser integration on Windows Store
This commit is contained in:
commit
15583748fe
@ -8,5 +8,10 @@
|
|||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.files.user-selected.read-write</key>
|
<key>com.apple.security.files.user-selected.read-write</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
<key>com.apple.security.temporary-exception.files.home-relative-path.read-write</key>
|
||||||
|
<array>
|
||||||
|
<string>/Library/Application Support/Mozilla/NativeMessagingHosts/</string>
|
||||||
|
<string>/Library/Application Support/Google/Chrome/NativeMessagingHosts/</string>
|
||||||
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
@ -23,6 +23,7 @@ import { ConstantsService } from 'jslib/services/constants.service';
|
|||||||
import { ElectronConstants } from 'jslib/electron/electronConstants';
|
import { ElectronConstants } from 'jslib/electron/electronConstants';
|
||||||
|
|
||||||
import { Utils } from 'jslib/misc/utils';
|
import { Utils } from 'jslib/misc/utils';
|
||||||
|
import { isWindowsStore } from 'jslib/electron/utils';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-settings',
|
selector: 'app-settings',
|
||||||
@ -356,6 +357,14 @@ export class SettingsComponent implements OnInit {
|
|||||||
this.i18nService.t('browserIntegrationMasOnlyTitle'),
|
this.i18nService.t('browserIntegrationMasOnlyTitle'),
|
||||||
this.i18nService.t('ok'), null, 'warning');
|
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;
|
this.enableBrowserIntegration = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1462,6 +1462,12 @@
|
|||||||
"browserIntegrationMasOnlyDesc": {
|
"browserIntegrationMasOnlyDesc": {
|
||||||
"message": "Unfortunately browser integration is only supported in the Mac App Store version for now."
|
"message": "Unfortunately browser integration is only supported in the Mac App Store version for now."
|
||||||
},
|
},
|
||||||
|
"browserIntegrationWindowsStoreTitle": {
|
||||||
|
"message": "Browser integration not supported"
|
||||||
|
},
|
||||||
|
"browserIntegrationWindowsStoreDesc": {
|
||||||
|
"message": "Unfortunately browser integration is currently not supported in the Windows Store version."
|
||||||
|
},
|
||||||
"enableBrowserIntegrationFingerprint": {
|
"enableBrowserIntegrationFingerprint": {
|
||||||
"message": "Require verification for browser integration"
|
"message": "Require verification for browser integration"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user