mirror of
https://github.com/SantaSpeen/Rcon-VK-Bot.git
synced 2025-07-02 15:56:13 +00:00
[+] Linux build script
This commit is contained in:
parent
f2aba85982
commit
a2bed9be1f
8
build-linux.sh
Normal file
8
build-linux.sh
Normal 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"
|
@ -118,6 +118,7 @@ def enter_to_exit(exit_code=1):
|
|||||||
|
|
||||||
|
|
||||||
def new_version():
|
def new_version():
|
||||||
|
print("Проверка версии...", end="")
|
||||||
try:
|
try:
|
||||||
res = requests.get("https://raw.githubusercontent.com/SantaSpeen/Rcon-VK-Bot/master/win/metadata.yml")
|
res = requests.get("https://raw.githubusercontent.com/SantaSpeen/Rcon-VK-Bot/master/win/metadata.yml")
|
||||||
data = yaml.load(res.text)
|
data = yaml.load(res.text)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user