mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01:00
Fix nativeMessaging not being enabled in safari (#1599)
This commit is contained in:
parent
e5764ee16e
commit
5d51fd3fbd
@ -192,6 +192,11 @@ function safariCopyBuild(source, dest) {
|
||||
.on('error', reject)
|
||||
.pipe(filter(['**'].concat(filters.fonts)))
|
||||
.pipe(gulpif('popup/index.html', replace('__BROWSER__', 'browser_safari')))
|
||||
.pipe(gulpif('manifest.json', jeditor((manifest) => {
|
||||
delete manifest.optional_permissions;
|
||||
manifest.permissions.push("nativeMessaging");
|
||||
return manifest;
|
||||
})))
|
||||
.pipe(gulp.dest(dest))
|
||||
.on('end', resolve);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user