Skip to content

Instantly share code, notes, and snippets.

@ModerRAS
Created May 6, 2019 16:07
Show Gist options
  • Save ModerRAS/291a1187d5b44a059f9c76debf1e2827 to your computer and use it in GitHub Desktop.
Save ModerRAS/291a1187d5b44a059f9c76debf1e2827 to your computer and use it in GitHub Desktop.
#!/bin/bash
apt install -y python3 git python3-pip
git clone https://github.com/NyanChanMeow/SSRSpeed.git
cd SSRSpeed
pip3 install -r requirements.txt
cd ..
mv SSRSpeed /usr/local/
echo "#!/bin/bash
cd /usr/local/SSRSpeed/
python3 main.py \$*" > /usr/local/bin/ssrspeed-cli
chmod +x /usr/local/bin/ssrspeed-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment