From 53f9249b9ff64ea426dec70f4a5ba37ea1c3d233 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sun, 5 Mar 2023 09:57:26 -0500 Subject: [PATCH] Delete install script --- README.md | 19 ++----------------- install.sh | 30 ------------------------------ 2 files changed, 2 insertions(+), 47 deletions(-) delete mode 100755 install.sh diff --git a/README.md b/README.md index 7828ece4..e8d21624 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,8 @@ Playlet is an unofficial Youtube client for Roku 📺 ## Installation ### Roku Store (Published app) -Search for "Playlet" in the Roku Store, or use the link https://my.roku.com/account/add?channel=PLAYLET +[Playlet on Roku channel store](https://channelstore.roku.com/en-ca/details/840aec36f51bfe6d96cf6db9055a372a/playlet) +Or use the link https://my.roku.com/account/add?channel=PLAYLET ### Sideloaded (Dev app) #### Enable Roku Developer Mode @@ -64,22 +65,6 @@ By now, you should have the following - Your Roku TV local IP address - You can find this information in your TV network settings. It should look like 192.168.X.X or so -#### Install Playlet (command line) - -Install Playlet as a dev channel using this command, and replace: -- `REPLACE_PASSWORD_HERE` : with your Roku Dev password -- `REPLACE_IP_ADDRESS_HERE` : with your Roku TV local IP address -``` -curl https://raw.githubusercontent.com/iBicha/playlet/main/install.sh | ROKU_DEV_TARGET=REPLACE_IP_ADDRESS_HERE DEVPASSWORD=REPLACE_PASSWORD_HERE sh -``` -Example: -``` -curl https://raw.githubusercontent.com/iBicha/playlet/main/install.sh | ROKU_DEV_TARGET=192.168.1.2 DEVPASSWORD=1234 sh -``` - - -If successful, you should see some output on your terminal, with `Status: 200`. - #### Install Playlet (Manual) 1. Go to `https://github.com/iBicha/playlet/releases` and download `playlet.zip` 2. Open `http://REPLACE_IP_ADDRESS_HERE/` (e.g. http://192.168.1.2/) in your browser diff --git a/install.sh b/install.sh deleted file mode 100755 index a425a223..00000000 --- a/install.sh +++ /dev/null @@ -1,30 +0,0 @@ -# Installs the playlet.zip app as a dev channel - -if [ -z "$ROKU_DEV_TARGET" ]; -then - echo "Variable ROKU_DEV_TARGET is not set. What is your Roku TV IP address? Example: 192.168.1.2"; - read ROKU_DEV_TARGET -fi - -if [ -z "$DEVPASSWORD" ]; -then - echo "Variable DEVPASSWORD is not set. What is your Roku Dev password? Example: 1234"; - read DEVPASSWORD -fi - -tmp_folder=$(mktemp -d) -tmp_zip_file="$tmp_folder/playlet.zip" -tmp_http_response_file="$tmp_folder/roku-response.html" - -echo "Downloading archive to temporary folder ..." - -# TODO: Check for curl, use wget if curl is not available -curl -L https://github.com/iBicha/playlet/releases/latest/download/playlet.zip -o $tmp_zip_file - -echo "Installing app on device at $ROKU_DEV_TARGET ..." - -curl --user rokudev:$DEVPASSWORD --digest --silent --show-error -F "mysubmit=Install" -F "archive=@$tmp_zip_file" --output $tmp_http_response_file --write-out "Status: %{http_code}" http://$ROKU_DEV_TARGET/plugin_install - -echo "\nDeleting temporary folder ..." - -rm -rf $tmp_folder \ No newline at end of file