Add Brave browser (#26)
This commit is contained in:
32
Makefile
32
Makefile
@@ -119,6 +119,22 @@ hosts-vivaldi-user:
|
||||
*) echo "The operating system $(OS) is not supported"; exit 1 ;; \
|
||||
esac
|
||||
|
||||
.PHONY: hosts-brave
|
||||
hosts-brave:
|
||||
@case $(OS) in \
|
||||
Linux) ln -sf "$(DESTDIR)/usr/lib/browserpass/hosts/chromium/$(APP_ID).json" "/etc/opt/brave/native-messaging-hosts/" ;; \
|
||||
Darwin) ln -sf "$(DESTDIR)/usr/lib/browserpass/hosts/chromium/$(APP_ID).json" "/Library/Application Support/BraveSoftware/Brave-Browser/NativeMessagingHosts/" ;; \
|
||||
*) echo "The operating system $(OS) is not supported"; exit 1 ;; \
|
||||
esac
|
||||
|
||||
.PHONY: hosts-brave-user
|
||||
hosts-brave-user:
|
||||
@case $(OS) in \
|
||||
Linux|OpenBSD|FreeBSD) ln -sf "$(DESTDIR)/usr/lib/browserpass/hosts/chromium/$(APP_ID).json" "${HOME}/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/" ;; \
|
||||
Darwin) ln -sf "$(DESTDIR)/usr/lib/browserpass/hosts/chromium/$(APP_ID).json" "${HOME}/Library/Application Support/BraveSoftware/Brave-Browser/NativeMessagingHosts/" ;; \
|
||||
*) echo "The operating system $(OS) is not supported"; exit 1 ;; \
|
||||
esac
|
||||
|
||||
.PHONY: hosts-firefox
|
||||
hosts-firefox:
|
||||
@case $(OS) in \
|
||||
@@ -184,3 +200,19 @@ policies-vivaldi-user:
|
||||
Darwin) ln -sf "$(DESTDIR)/usr/lib/browserpass/hosts/chromium/$(APP_ID).json" "${HOME}/Library/Application Support/Vivaldi/policies/managed/" ;; \
|
||||
*) echo "The operating system $(OS) is not supported"; exit 1 ;; \
|
||||
esac
|
||||
|
||||
.PHONY: policies-brave
|
||||
policies-brave:
|
||||
@case $(OS) in \
|
||||
Linux) ln -sf "$(DESTDIR)/usr/lib/browserpass/hosts/chromium/$(APP_ID).json" "/etc/opt/brave/policies/managed/" ;; \
|
||||
Darwin) ln -sf "$(DESTDIR)/usr/lib/browserpass/hosts/chromium/$(APP_ID).json" "/Library/Application Support/BraveSoftware/Brave-Browser/policies/managed/" ;; \
|
||||
*) echo "The operating system $(OS) is not supported"; exit 1 ;; \
|
||||
esac
|
||||
|
||||
.PHONY: policies-brave-user
|
||||
policies-brave-user:
|
||||
@case $(OS) in \
|
||||
Linux|OpenBSD|FreeBSD) ln -sf "$(DESTDIR)/usr/lib/browserpass/hosts/chromium/$(APP_ID).json" "${HOME}/.config/BraveSoftware/Brave-Browser/policies/managed/" ;; \
|
||||
Darwin) ln -sf "$(DESTDIR)/usr/lib/browserpass/hosts/chromium/$(APP_ID).json" "${HOME}/Library/Application Support/BraveSoftware/Brave-Browser/policies/managed/" ;; \
|
||||
*) echo "The operating system $(OS) is not supported"; exit 1 ;; \
|
||||
esac
|
||||
|
@@ -48,6 +48,8 @@ The Makefile (which is also available in `/usr/lib/browserpass/`, if you install
|
||||
| `make hosts-chrome-user` | Configure browserpass for Google Chrome browser, for the current user only |
|
||||
| `make hosts-vivaldi` | Configure browserpass for Vivaldi browser, system-wide |
|
||||
| `make hosts-vivaldi-user` | Configure browserpass for Vivaldi browser, for the current user only |
|
||||
| `make hosts-brave` | Configure browserpass for Brave browser, system-wide |
|
||||
| `make hosts-brave-user` | Configure browserpass for Brave browser, for the current user only |
|
||||
| `make hosts-firefox` | Configure browserpass for Firefox browser, system-wide |
|
||||
| `make hosts-firefox-user` | Configure browserpass for Firefox browser, for the current user only |
|
||||
|
||||
@@ -59,8 +61,8 @@ In addition, Chromium-based browsers support the following `make` goals:
|
||||
| `make policies-chromium-user` | Automatically install browser extension for Chromium browser, for the current user only |
|
||||
| `make policies-chrome` | Automatically install browser extension for Google Chrome browser, system-wide |
|
||||
| `make policies-chrome-user` | Automatically install browser extension for Google Chrome browser, for the current user only |
|
||||
| `make policies-vivaldi` | Automatically install browser extension for Vivaldi browser, system-wide |
|
||||
| `make policies-vivaldi-user` | Automatically install browser extension for Vivaldi browser, for the current user only |
|
||||
| `make policies-brave` | Automatically install browser extension for Brave browser, system-wide |
|
||||
| `make policies-brave-user` | Automatically install browser extension for Brave browser, for the current user only |
|
||||
|
||||
## Building the app
|
||||
|
||||
|
Reference in New Issue
Block a user