Added custom adw-askpass utility

This commit is contained in:
2026-03-29 22:50:09 +09:00
committed by Morgan J.
parent 2247bc32bf
commit 96faad556b
9 changed files with 603 additions and 3 deletions

View File

@@ -1,15 +1,16 @@
PREFIX ?= $(HOME)/.local/bin
all:
cargo build --release
cargo build --workspace --release
install: all
mkdir -p $(PREFIX)
install -m 755 target/release/bw-agent $(PREFIX)/bw-agent
install -m 755 target/release/bw-proxy $(PREFIX)/bw-proxy
test -f target/release/adw-askpass && install -m 755 target/release/adw-askpass $(PREFIX)/adw-askpass || true
uninstall:
rm -f $(PREFIX)/bw-agent $(PREFIX)/bw-proxy
rm -f $(PREFIX)/bw-agent $(PREFIX)/bw-proxy $(PREFIX)/adw-askpass
launchd:
mkdir -p $(HOME)/Library/LaunchAgents