Delete install script

This commit is contained in:
Brahim Hadriche committed 2023-03-05 09:57:26 -05:00
1 parent 6adbe94a1e
commit 53f9249b9f
2 files changed
+2 -47

No files matched your search

+2 -17
View File
@@ -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
-30
View File
@@ -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