[+] Linux build script

This commit is contained in:
Maxim Khomutov 2024-01-13 14:34:13 +03:00
parent f2aba85982
commit a2bed9be1f
2 changed files with 9 additions and 0 deletions

8
build-linux.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
git clone https://github.com/SantaSpeen/Rcon-VK-Bot.git
cd Rcon-VK-Bot || exit
pip install -r requirements.txt
pip install pyinstaller
pyinstaller --noconfirm --onefile --console --name "Rcon-VK-Bot-LINx64" "./src/main.py"

View File

@ -118,6 +118,7 @@ def enter_to_exit(exit_code=1):
def new_version():
print("Проверка версии...", end="")
try:
res = requests.get("https://raw.githubusercontent.com/SantaSpeen/Rcon-VK-Bot/master/win/metadata.yml")
data = yaml.load(res.text)