From c2b93d2becb8e303ecdb0c183270874c41ab90ad Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Mon, 13 Dec 2021 22:51:33 +0300 Subject: [PATCH] better readme --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f311fdb..811e332 100644 --- a/README.md +++ b/README.md @@ -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 +```