diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-29 17:46:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-29 17:46:17 -0300 |
commit | 8e304deee233011977cfcdcb990b27a1ad99df2f (patch) | |
tree | 667ba7166febca382ec9931117a4cb61ed3547fa | |
parent | 75ad2c2486cc7ad81fc5b7b59a7bd0b6dd0f2452 (diff) | |
download | renpy-8e304deee233011977cfcdcb990b27a1ad99df2f.tar.gz renpy-8e304deee233011977cfcdcb990b27a1ad99df2f.tar.bz2 renpy-8e304deee233011977cfcdcb990b27a1ad99df2f.tar.xz renpy-8e304deee233011977cfcdcb990b27a1ad99df2f.zip |
Add `remote` and `local` init flags
-rw-r--r-- | game/core.rpy | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/game/core.rpy b/game/core.rpy index 3072aab..4b2b77d 100644 --- a/game/core.rpy +++ b/game/core.rpy @@ -260,6 +260,18 @@ init -4 python: elif (cmd == "launch"): print("Auto-launch mode Enabled") AUTOLAUNCH = True + elif (cmd == "remote"): + print("Using remote servers...") + VAULT_HOST = "https://api.themanaworld.org:13370" + VAULT_CERT = False + vault=requests.Session() + elif (cmd == "local"): + print("Using local servers...") + VAULT_HOST = "https://localhost:13370" + VAULT_CERT = "http://localhost/launcher/cert.pem" + vault=requests.Session() + vault.cert = get_path("cert.pem") + vault.verify = get_path("cert.pem") elif (cmd == "version"): print("%s v%s %s" % (config.name, config.version, "Mirror Lake")) print("%s %s" % (str(renpy.version()), renpy.version_name)) |