diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-08 01:05:58 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-08 01:05:58 -0300 |
commit | fd0f81a4d77f672a4b7c69df8e55f40721b6dc44 (patch) | |
tree | f60231f0c0001d6295b156835aa7003dacbd1db7 | |
parent | 608ad36f1c7023f09e9fda0b981b8025b324b5ae (diff) | |
download | renpy-fd0f81a4d77f672a4b7c69df8e55f40721b6dc44.tar.gz renpy-fd0f81a4d77f672a4b7c69df8e55f40721b6dc44.tar.bz2 renpy-fd0f81a4d77f672a4b7c69df8e55f40721b6dc44.tar.xz renpy-fd0f81a4d77f672a4b7c69df8e55f40721b6dc44.zip |
Ensure Discord RPC will be properly initialized.
Security: If Development mode is off, do NOT log the vault token anywhere.
Not a huge improvement as it can still be stolen but they're 24 hours valid so...
-rw-r--r-- | game/renpy.rpy | 1 | ||||
-rw-r--r-- | game/update.rpy | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/game/renpy.rpy b/game/renpy.rpy index 01d7dcd..954c117 100644 --- a/game/renpy.rpy +++ b/game/renpy.rpy @@ -28,6 +28,7 @@ label start: scene black show screen loading + call before_main_menu # Run updater $ renpy.invoke_in_thread(CONFIGURE_LAUNCHER) diff --git a/game/update.rpy b/game/update.rpy index 4313dd2..3952921 100644 --- a/game/update.rpy +++ b/game/update.rpy @@ -181,7 +181,7 @@ init python: raise Exception("Vault returned code %d" % r.status_code) # Receive the Vault Token - stdout("Steam result: (%d) %s" % (r.status_code, r.text)) + stdout("Steam result: (%d) %s" % (r.status_code, ifte(config.developer, r.text, accId))) auth2 = r.json() vaultId = auth2["vaultId"] vaultToken = auth2["token"] |