39 lines
700 B
Python
39 lines
700 B
Python
#!/usr/bin/env python3
|
|
from colorama import Fore, Style
|
|
import os
|
|
|
|
import time
|
|
from threading import Thread
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
import hlna
|
|
home_dir = Path.home()
|
|
config_hlna = f"{home_dir}/.config/hlna/"
|
|
|
|
|
|
def config():
|
|
hlna.config()
|
|
def servers():
|
|
x = os.system("./hlna.py servers >> /dev/null")
|
|
if x == 0:
|
|
print("Servers - "+Fore.GREEN + "OK" + Style.RESET_ALL)
|
|
else:
|
|
print(Fore.RED + "Servers Fail" + Style.RESET_ALL)
|
|
def delete():
|
|
print("Delete - " + Fore.RED + "False" + Style.RESET_ALL)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
servers()
|
|
delete()
|
|
config()
|
|
|
|
|
|
|
|
#print(f"{Fore.GREEN} + {text}")
|
|
#print(Fore.YELLOW + "-"*30 + Style.RESET_ALL)
|
|
|