-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVDL-Installer
More file actions
31 lines (27 loc) · 1.08 KB
/
VDL-Installer
File metadata and controls
31 lines (27 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
cd /tmp
sudo rm -f /tmp/VDL*
sudo rm -f /usr/local/bin/VDL
wget https://raw.githubusercontent.com/GlitchLinux/vdl/refs/heads/main/VDL
sudo cat /tmp/VDL > /usr/local/bin/VDL
sudo chmod +x /usr/local/bin/VDL
sudo chmod 777 /usr/local/bin/VDL
sudo rm -f /tmp/VDL
# Auto-install yt-dlp from GitHub (latest version)
if ! command -v yt-dlp &>/dev/null; then
echo "Installing yt-dlp (latest)..."
sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
sudo chmod +x /usr/local/bin/yt-dlp
echo "yt-dlp installed: $(yt-dlp --version)"
fi
# Auto-install borderize
if ! command -v borderize &>/dev/null; then
echo "Installing borderize..."
sudo curl -sL https://raw.githubusercontent.com/GlitchLinux/BORDERIZE/main/borderize -o /usr/local/bin/borderize
sudo chmod +x /usr/local/bin/borderize
fi
echo "VDL utility have been successfully installed!" > /tmp/vdl-installed
echo "Start job with: 'VDL' for help run: 'VDL -h'" >> /tmp/vdl-installed
clear
cat /tmp/vdl-installed | borderize -FF00FF && rm /tmp/vdl-installed
sleep 5