From a2bed9be1fd4004a312cc717574da985d17abafd Mon Sep 17 00:00:00 2001 From: SantaSpeen Date: Sat, 13 Jan 2024 14:34:13 +0300 Subject: [PATCH] [+] Linux build script --- build-linux.sh | 8 ++++++++ src/modules/__init__.py | 1 + 2 files changed, 9 insertions(+) create mode 100644 build-linux.sh diff --git a/build-linux.sh b/build-linux.sh new file mode 100644 index 0000000..59d04cf --- /dev/null +++ b/build-linux.sh @@ -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" diff --git a/src/modules/__init__.py b/src/modules/__init__.py index 7d201b8..a3da38a 100644 --- a/src/modules/__init__.py +++ b/src/modules/__init__.py @@ -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)