-
Notifications
You must be signed in to change notification settings - Fork 3
Installing Host Application
Ruslan Osmanov edited this page Oct 15, 2019
·
6 revisions
This section describes how to install the native messaging host application which acts as a proxy between the browser (extension) and the editor.
Follow instructions on the main page of the repository.
Use Python script if, for some reason, you can't or don't want to install BeeCtl. On macos, however, Python version is the only option.
Open a terminal emulator and run the following commands.
Prepare a directory for the project:
mkdir -p ~/src/chrome-bee
cd ~/src/chrome-beeDownload the project into the prepared (current) directory:
wget -q -O - https://github.com/rosmanov/chrome-bee/archive/master.tar.gz | \
tar xzvf - --strip-components 1In order to install the host application for the current user run the following command:
./host/install.sh ~/usr/lib/chrome-beeSample output:
Saved cache into /home/ruslan/src/chrome-bee/host/vars.cache.sh
Installed host application into '/home/ruslan/usr/lib/chrome-bee/beectl'
Installed Chrome manifest into '/home/ruslan/.config/google-chrome/NativeMessagingHosts/com.ruslan_osmanov.bee.json'
Installed Firefox manifest into '/home/ruslan/.mozilla/native-messaging-hosts/com.ruslan_osmanov.bee.json'
For system-wide installation run the following command on behalf of superuser (root), e.g.:
sudo ./host/install.sh /usr/local/chrome-bee
Sample output:
Saved cache into /home/ruslan/src/chrome-bee/host/vars.cache.sh
Installed host application into '/usr/local/chrome-bee/beectl'
Installed Chrome manifest into '/etc/opt/chrome/native-messaging-hosts/com.ruslan_osmanov.bee.json'
Installed Firefox manifest into '/usr/lib/mozilla/native-messaging-hosts/com.ruslan_osmanov.bee.json'