mirror of
https://github.com/PR0M3TH3AN/LBRY-Downloader.git
synced 2026-10-27 08:22:24 +00:00
Fix remote-install.sh for interactive mode
Changed from pipe-to-bash to download-and-run approach. Updated documentation to reflect correct install command.
This commit is contained in:
1 parent
293da1f643
commit
0e10af9438
3 files changed
+26
-5
No files matched your search
+1
-1
@@ -3,7 +3,7 @@
|
||||
## One-Line Install
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/PR0M3TH3AN/LBRY-Downloader/main/remote-install.sh | bash
|
||||
curl -fsSL https://raw.githubusercontent.com/PR0M3TH3AN/LBRY-Downloader/main/remote-install.sh -o install-lbry.sh && bash install-lbry.sh
|
||||
```
|
||||
|
||||
**Requirements:** Git and Python 3.8+ must be installed.
|
||||
|
||||
@@ -17,10 +17,10 @@ A Python tool that incrementally syncs downloadable file claims from configured
|
||||
|
||||
### One-Line Install (Easiest)
|
||||
|
||||
Install with a single command using curl:
|
||||
Install with a single command:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/PR0M3TH3AN/LBRY-Downloader/main/remote-install.sh | bash
|
||||
curl -fsSL https://raw.githubusercontent.com/PR0M3TH3AN/LBRY-Downloader/main/remote-install.sh -o install-lbry.sh && bash install-lbry.sh
|
||||
```
|
||||
|
||||
**Requirements:** Git and Python 3.8+ must be installed.
|
||||
|
||||
+23
-2
@@ -2,8 +2,16 @@
|
||||
#
|
||||
# LBRY Downloader - Remote Installation Script
|
||||
#
|
||||
# This script can be curl'd and piped to bash for easy installation:
|
||||
# curl -fsSL https://raw.githubusercontent.com/PR0M3TH3AN/LBRY-Downloader/main/remote-install.sh | bash
|
||||
# This script downloads and sets up LBRY Downloader.
|
||||
#
|
||||
# USAGE:
|
||||
# Option 1 - Download and run (Recommended):
|
||||
# curl -fsSL https://raw.githubusercontent.com/PR0M3TH3AN/LBRY-Downloader/main/remote-install.sh -o install-lbry.sh && bash install-lbry.sh
|
||||
#
|
||||
# Option 2 - Clone manually:
|
||||
# git clone https://github.com/PR0M3TH3AN/LBRY-Downloader.git
|
||||
# cd LBRY-Downloader
|
||||
# ./setup.py
|
||||
#
|
||||
|
||||
set -e
|
||||
@@ -61,6 +69,19 @@ fi
|
||||
|
||||
print_status "Python $PYTHON_VERSION found"
|
||||
|
||||
# Check if running in interactive mode
|
||||
if [ ! -t 0 ]; then
|
||||
print_error "This script requires interactive mode"
|
||||
echo ""
|
||||
echo "Please run using:"
|
||||
echo " curl -fsSL https://raw.githubusercontent.com/PR0M3TH3AN/LBRY-Downloader/main/remote-install.sh -o install-lbry.sh && bash install-lbry.sh"
|
||||
echo ""
|
||||
echo "Or clone manually:"
|
||||
echo " git clone https://github.com/PR0M3TH3AN/LBRY-Downloader.git"
|
||||
echo " cd LBRY-Downloader && ./setup.py"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if already installed
|
||||
if [ -d "$INSTALL_DIR" ]; then
|
||||
print_warning "LBRY Downloader already exists at $INSTALL_DIR"
|
||||
|
||||
Reference in new issue
Block a user