From bf9fb464924118e5dd73c9fe96ca2ba08485e5b6 Mon Sep 17 00:00:00 2001 From: Ben Winston Date: Wed, 22 Jul 2020 21:03:22 -0400 Subject: add a Makefile to make installs straightforward --- Makefile | 8 ++++++++ README.md | 14 ++++++++++++-- roku.config | 2 ++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 Makefile create mode 100644 roku.config diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..033b381 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +configure: + if [ ! -d ~/.config/roku ]; \ + then mkdir ~/.config/roku; \ + fi + cp roku.config ~/.config/roku + +install: + cp roku-cli.py /usr/local/bin/roku diff --git a/README.md b/README.md index fa862fa..6ba4b06 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # roku-cli a command line remote for Roku +## usage - [h]ome - [b]ack - [p]lay @@ -9,6 +10,15 @@ a command line remote for Roku - arrow keys - enter key - < and > (rew and ff) -- / (enter typing mode, enter to exit) +- / (switch to typing mode, 'enter' to exit) -coming "soon": config file to change all that stuff +## install +replace the default IP address in `roku.config` with the IP address of +the roku. then run: + +``` +make +sudo make install +``` + +program can be started using `roku` diff --git a/roku.config b/roku.config new file mode 100644 index 0000000..31fb8af --- /dev/null +++ b/roku.config @@ -0,0 +1,2 @@ +[general] +roku_ip=192.168.1.1 -- cgit v1.2.3