Add multilingual STT support and config UI/runtime updates
This commit is contained in:
parent
ed950cb7c4
commit
4a69c3d333
26 changed files with 2207 additions and 465 deletions
22
Makefile
22
Makefile
|
|
@ -1,12 +1,24 @@
|
|||
CONFIG := $(HOME)/.config/aman/config.json
|
||||
|
||||
.PHONY: run doctor install sync test check
|
||||
.PHONY: run doctor self-check install sync test check
|
||||
|
||||
RUN_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
|
||||
RUN_CONFIG := $(if $(RUN_ARGS),$(abspath $(firstword $(RUN_ARGS))),$(CONFIG))
|
||||
|
||||
ifneq ($(filter run,$(firstword $(MAKECMDGOALS))),)
|
||||
.PHONY: $(RUN_ARGS)
|
||||
$(RUN_ARGS):
|
||||
@:
|
||||
endif
|
||||
|
||||
run:
|
||||
uv run python3 src/aman.py run --config $(CONFIG)
|
||||
uv run aman run --config $(RUN_CONFIG)
|
||||
|
||||
doctor:
|
||||
uv run python3 src/aman.py doctor --config $(CONFIG)
|
||||
uv run aman doctor --config $(CONFIG)
|
||||
|
||||
self-check:
|
||||
uv run aman self-check --config $(CONFIG)
|
||||
|
||||
sync:
|
||||
uv sync
|
||||
|
|
@ -19,9 +31,7 @@ check:
|
|||
$(MAKE) test
|
||||
|
||||
install:
|
||||
mkdir -p $(HOME)/.local/share/aman/src/assets
|
||||
cp src/*.py $(HOME)/.local/share/aman/src/
|
||||
cp src/assets/*.png $(HOME)/.local/share/aman/src/assets/
|
||||
uv pip install --user .
|
||||
cp systemd/aman.service $(HOME)/.config/systemd/user/aman.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user enable --now aman
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue