This commit is contained in:
sitisll
2023-03-10 17:09:37 +03:00
parent e7042063e8
commit 00f9a3892a

View File

@ -258,6 +258,12 @@ def yaml_create(cluster_server, map_s, name_server, port_server, query_port, rco
yaml.dump(settings_hlna, yamlfile)
print(colorama.Fore.GREEN + "Конфиг создан" + colorama.Style.RESET_ALL)
def test_mod_install():
pathTest = f"{dir_server}ShooterGame/Saved/Config/LinuxServer/"
os.chdir(pathTest)
# "Добавить файл в Game.ini, если модов несколько добавляем еще строку ModIDS=<ModId> [ModInstaller] ModIDS=<ModID>" c этим не разобрался
os.system("echo ActiveMods=2943454417 >> GameUserSettings.ini")
test_mod_install()
@hlna.command()
@click.option("-m", required=True, help="Название Сервера")
@ -403,7 +409,7 @@ def start(m,b, name_server=list_config):
else:
print("Ни одной карты не установлено")
"""
"""
@hlna.command(help='Для удаления серверов')
@click.option('-m', required=True, help="Название карты для удаления")
def delete(m, list_config=list_config):