summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-07-28 19:44:39 -0300
committerJesusaves <cpntb1@ymail.com>2023-07-28 19:44:39 -0300
commit9b2f524bf708b5bfbf3e640d65c2fdc586429dc4 (patch)
tree4c77131336e6efd30d1b9c5e9cb2416784d0565f
parentf83b421a947624e95626ece56772d55246a5f1e1 (diff)
downloadrenpy-9b2f524bf708b5bfbf3e640d65c2fdc586429dc4.tar.gz
renpy-9b2f524bf708b5bfbf3e640d65c2fdc586429dc4.tar.bz2
renpy-9b2f524bf708b5bfbf3e640d65c2fdc586429dc4.tar.xz
renpy-9b2f524bf708b5bfbf3e640d65c2fdc586429dc4.zip
Minimum upkeepHEADmaster
-rwxr-xr-xlite.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lite.py b/lite.py
index b4a5516..d552572 100755
--- a/lite.py
+++ b/lite.py
@@ -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