From 9fa26dc1766527eb61dd0e3cbe7ea497f92da38d Mon Sep 17 00:00:00 2001 From: hms5232 Date: Mon, 4 Mar 2024 20:21:14 +0800 Subject: [PATCH] docs: add release info to README --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c5c4414..e252f00 100644 --- a/README.md +++ b/README.md @@ -36,17 +36,17 @@ then replace value for your bot and chat/user id. ### Run on RPi +First, build binary or download pre-built binary from [release page](https://github.com/hms5232/get-LAN-IP-telegram-bot-rs/releases). + +Optional, you can rename it to `get-LAN-IP-telegram-bot-rs` or other filename you like. + Add the following line into `/etc/rc.local`: ```shell (cd /path/to/binary && ./get-LAN-IP-telegram-bot-rs; cd -)& ``` -for example: - -```shell -(cd /home/pi/Documents/get-LAN-IP-telegram-bot-rs && ./target/release/get-LAN-IP-telegram-bot-rs; cd -)& -``` +Don't forget that replace `get-LAN-IP-telegram-bot-rs` with you just named to binary ## LICENSE