diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-07-28 19:44:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-07-28 19:44:39 -0300 |
commit | 9b2f524bf708b5bfbf3e640d65c2fdc586429dc4 (patch) | |
tree | 4c77131336e6efd30d1b9c5e9cb2416784d0565f | |
parent | f83b421a947624e95626ece56772d55246a5f1e1 (diff) | |
download | renpy-9b2f524bf708b5bfbf3e640d65c2fdc586429dc4.tar.gz renpy-9b2f524bf708b5bfbf3e640d65c2fdc586429dc4.tar.bz2 renpy-9b2f524bf708b5bfbf3e640d65c2fdc586429dc4.tar.xz renpy-9b2f524bf708b5bfbf3e640d65c2fdc586429dc4.zip |
-rwxr-xr-x | lite.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -20,7 +20,7 @@ serverlist = [] #SERVERLIST = "http://localhost/launcher" VAULT_HOST = "https://api.themanaworld.org:13370" VAULT_CERT = False #"https://tmw2.org/launcher/cert.pem" -SERVERLIST = "https://tmw2.org/launcher" +SERVERLIST = "https://updates.tmw2.org/launcher" # Vault SSL wrapper vault=requests.Session() if VAULT_CERT: @@ -164,9 +164,8 @@ def launch_game(idx): return -1 ## Handle server type - if serverlist[idx]["Type"].lower() == "evol2": - CMD="manaplus" - OPT="-s %s -y evol2 -p %s -S" % (HOST, PORT) + CMD="manaplus" + OPT="-s %s -y %s -p %s -S" % (HOST, serverlist[idx]["Type"], PORT) ## Execute the app app=execute(san("%s %s%s" % (CMD, OPT, PWD)), shell=True) # nosec |