Skip to content

Commit

Permalink
fix: remove extension-id placeholder in installed chromium manifest
Browse files Browse the repository at this point in the history
The native messaging manifest of chrome and chromium contains two
allowed extension ids: A placeholder for a local (non-signed) install
and the offical extension id (signed version). When installing globally,
the placeholder for the local version needs to be removed. Due to a typo
in the Makefile, this happened only for chrome, but not for chromium.

Reported-by: Dr. Johann Pfefferl <[email protected]>
Signed-off-by: Felix Moessbauer <[email protected]>
  • Loading branch information
fmoessbauer committed Jul 16, 2024
1 parent fe7052a commit 07f64d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ install:
install -d $(DESTDIR)/$(chromium_nm_dir)
install -m 0644 platform/chrome/linux_entra_sso.json $(DESTDIR)/$(chromium_nm_dir)
sed -i 's|/usr/local/lib/|'$(libexecdir)/'|' $(DESTDIR)/$(chromium_nm_dir)/linux_entra_sso.json
sed -i '/{extension_id}/d' $(DESTDIR)/$(chrome_nm_dir)/linux_entra_sso.json
sed -i '/{extension_id}/d' $(DESTDIR)/$(chromium_nm_dir)/linux_entra_sso.json

uninstall:
rm -rf $(DESTDIR)/$(libexecdir)/linux-entra-sso
Expand Down

0 comments on commit 07f64d9

Please sign in to comment.