Add SFSafariAppExtensionBundleIdentifiersToReplace

This commit is contained in:
Hinton 2020-12-14 10:20:41 +01:00
parent 9fb80823ba
commit 36bda45c2e
2 changed files with 4 additions and 3 deletions

View File

@ -40,16 +40,15 @@ export default class RuntimeBackground {
private systemService: SystemService, private vaultTimeoutService: VaultTimeoutService,
private environmentService: EnvironmentService, private policyService: PolicyService,
private userService: UserService) {
this.runtime = chrome.runtime;
// onInstalled listener must be wired up before anything else, so we do it in the ctor
this.runtime.onInstalled.addListener((details: any) => {
chrome.runtime.onInstalled.addListener((details: any) => {
this.onInstalledReason = details.reason;
});
}
async init() {
if (!this.runtime) {
if (!chrome.runtime) {
return;
}

View File

@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SFSafariAppExtensionBundleIdentifiersToReplace</key>
<string>com.bitwarden.desktop.safari</string>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>