diff --git a/Makefile b/Makefile index 7b253af..da23bbb 100644 --- a/Makefile +++ b/Makefile @@ -33,31 +33,7 @@ systemd-unload: rm -f $(HOME)/.config/systemd/user/bw-agent.service systemctl --user daemon-reload -NM_NAME = com.8bit.bitwarden.json - -nm-firefox: -ifeq ($(shell uname),Darwin) - mkdir -p $(HOME)/Library/Application\ Support/Mozilla/NativeMessagingHosts - sed 's|/Users/USER/.local/bin|$(PREFIX)|' docs/$(NM_NAME).firefox \ - > $(HOME)/Library/Application\ Support/Mozilla/NativeMessagingHosts/$(NM_NAME) -else - mkdir -p $(HOME)/.mozilla/native-messaging-hosts - sed 's|/Users/USER/.local/bin|$(PREFIX)|' docs/$(NM_NAME).firefox \ - > $(HOME)/.mozilla/native-messaging-hosts/$(NM_NAME) -endif - -nm-chromium: -ifeq ($(shell uname),Darwin) - mkdir -p $(HOME)/Library/Application\ Support/Google/Chrome/NativeMessagingHosts - sed 's|/Users/USER/.local/bin|$(PREFIX)|' docs/$(NM_NAME).chromium \ - > $(HOME)/Library/Application\ Support/Google/Chrome/NativeMessagingHosts/$(NM_NAME) -else - mkdir -p $(HOME)/.config/google-chrome/NativeMessagingHosts - sed 's|/Users/USER/.local/bin|$(PREFIX)|' docs/$(NM_NAME).chromium \ - > $(HOME)/.config/google-chrome/NativeMessagingHosts/$(NM_NAME) -endif - clean: cargo clean -.PHONY: all install uninstall launchd launchd-unload systemd systemd-unload nm-firefox nm-chromium clean +.PHONY: all install uninstall launchd launchd-unload systemd systemd-unload clean