Fixes to revert bot commit that breaks it

This commit is contained in:
2023-05-20 11:48:25 +02:00
parent 7efd94e350
commit b35491410b
2 changed files with 3 additions and 4 deletions

View File

@@ -3,9 +3,8 @@
sudo dnf up -y
sudo dnf in nano NetworkManager NetworkManager-openvpn openvpn python python*-pip python*-tkinter chromedriver chromium xorg-x11-server-Xvfb git wget unzip -y
git clone https://git.justw.tf/Lightemerald/mcr-bot && cd mcr-bot
git clone https://github.com/farshadz1997/Microsoft-Rewards-bot
pip install -r Microsoft-Rewards-bot/requirements.txt
mkdir vpn
git clone https://github.com/farshadz1997/Microsoft-Rewards-bot && cd Microsoft-Rewards-bot && git checkout 03476776e9c58029dedaeee431958b5d04364bcf && pip install -r requirements.txt
cd .. && mkdir vpn
cp ./config.txt.sample config.txt
chmod +x ./*.sh
clear

View File

@@ -1,6 +1,6 @@
sudo dnf up -y
git stash && git pull
cd Microsoft-Rewards-bot && git stash && git pull && pip install -r requirements.txt
cd Microsoft-Rewards-bot && git stash && git pull && git checkout 03476776e9c58029dedaeee431958b5d04364bcf && pip install -r requirements.txt
clear
cd .. && chmod +x ./*.sh
echo "Update done!"