Fix some small issues

Don't crash without self_clid
Improve functions in main.rs
This commit is contained in:
Tobias Reisinger 2024-06-03 01:11:05 +02:00
parent 70e0a1d0b4
commit 895f5f9373
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 28 additions and 25 deletions

View file

@ -2,11 +2,13 @@
INSTALL_DIR = $(HOME)/.local/bin
export PATH := target/debug:$(PATH)
build:
@cargo build
run: build
@PATH=$(PWD)/target/debug:$(PATH) ./ts-control
./ts-control
install:
mkdir -p "$(INSTALL_DIR)"