windows installer fixes
CI Test Suite / Run Component Tests & Pipeline Verification (push) Successful in 1m13s
Release Binaries & Packages / Build & Release Standalone Binaries (Linux & Windows Cross-Compilation) (push) Successful in 6m51s

This commit is contained in:
2026-09-26 22:00:50 +02:00
parent 1a984caaf7
commit 2e256baf4a
6 changed files with 163 additions and 43 deletions
+8 -2
View File
@@ -31,8 +31,14 @@ HERMES_PORT = 8443
def run_tests():
print("=== [1] Verifying server_config.json & client_config.json ===")
server_cfg_path = "server_config.json" if os.path.exists("server_config.json") else os.path.join(ROOT_DIR, "server_config.json")
server_cfg_path = "server_config.json"
if not os.path.exists(server_cfg_path):
server_cfg_path = os.path.join(ROOT_DIR, "server_config.json")
if not os.path.exists(server_cfg_path):
progdata_path = os.path.join(os.environ.get("ProgramData", r"C:\ProgramData"), "LOGAR-Server", "server_config.json")
if os.path.exists(progdata_path):
server_cfg_path = progdata_path
client_cfg_path = "client_config.json" if os.path.exists("client_config.json") else os.path.join(ROOT_DIR, "client_config.json")
assert os.path.exists(server_cfg_path), f"{server_cfg_path} must exist"