better readme

This commit is contained in:
Pavel 2021-12-13 22:51:33 +03:00
parent 21c58a3829
commit c2b93d2bec

View File

@ -1,7 +1,7 @@
# LG WebOS Developer Mode Extender
This app can extend developer mode timer for the LG TV (you'll need the session token for that)
You can obtain the developer mode session token by logging into your TV and executing this command:
You can obtain the developer mode session token by logging into your TV via SSH and executing this command:
```shell
cat /var/luna/preferences/devmode_enabled
@ -10,3 +10,19 @@ cat /var/luna/preferences/devmode_enabled
## Building
Run `make all`. You will need Docker for that.
## Usage
Run the binary with following arguments:
```shell
devmode-extender_{arch} --token={devmode session token}
```
Not very useful, huh? That's because it is supposed to run periodically.
Cron example:
```shell
# Runs every day at 03:00
0 3 * * * /root/devmode-extender --token=token
```