mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-25 23:03:07 +02:00
Add SFSafariAppExtensionBundleIdentifiersToReplace
This commit is contained in:
parent
9fb80823ba
commit
36bda45c2e
|
@ -40,16 +40,15 @@ export default class RuntimeBackground {
|
||||||
private systemService: SystemService, private vaultTimeoutService: VaultTimeoutService,
|
private systemService: SystemService, private vaultTimeoutService: VaultTimeoutService,
|
||||||
private environmentService: EnvironmentService, private policyService: PolicyService,
|
private environmentService: EnvironmentService, private policyService: PolicyService,
|
||||||
private userService: UserService) {
|
private userService: UserService) {
|
||||||
this.runtime = chrome.runtime;
|
|
||||||
|
|
||||||
// onInstalled listener must be wired up before anything else, so we do it in the ctor
|
// 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;
|
this.onInstalledReason = details.reason;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async init() {
|
async init() {
|
||||||
if (!this.runtime) {
|
if (!chrome.runtime) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
|
<key>SFSafariAppExtensionBundleIdentifiersToReplace</key>
|
||||||
|
<string>com.bitwarden.desktop.safari</string>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user