mirror of
https://github.com/morgan9e/bitwarden-desktop-agent
synced 2026-04-14 00:04:06 +09:00
remove nm targets from Makefile
This commit is contained in:
26
Makefile
26
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
|
||||
|
||||
Reference in New Issue
Block a user