summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-19 15:44:29 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-19 15:44:29 -0300
commit5695ee23f82789d60dcd04569da25fd6855cbb6e (patch)
tree42073fca475a2514344b37bd65e2bc45464905bb
parent8c91a0e24c8e5f793372c74955ed248fedc76e04 (diff)
downloadrenpy-5695ee23f82789d60dcd04569da25fd6855cbb6e.tar.gz
renpy-5695ee23f82789d60dcd04569da25fd6855cbb6e.tar.bz2
renpy-5695ee23f82789d60dcd04569da25fd6855cbb6e.tar.xz
renpy-5695ee23f82789d60dcd04569da25fd6855cbb6e.zip
Improve version output
-rw-r--r--game/core.rpy9
-rw-r--r--game/discord.rpy1
2 files changed, 9 insertions, 1 deletions
diff --git a/game/core.rpy b/game/core.rpy
index fd5be35..af165ea 100644
--- a/game/core.rpy
+++ b/game/core.rpy
@@ -221,6 +221,7 @@ init -4 python:
## Debug information
if config.developer:
print("Args: %s" % str(args))
+ print("")
## Command Line Defaults
for cmd in args:
@@ -235,7 +236,13 @@ init -4 python:
AUTOLAUNCH = True
elif (cmd == "version"):
print("%s v%s %s" % (config.name, config.version, "Mirror Lake"))
- print("%s" % str(renpy.version()))
+ print("%s %s" % (str(renpy.version()), renpy.version_name))
+ if renpy.linux:
+ print("Linux")
+ elif renpy.windows:
+ print("Windows")
+ else:
+ print("Unsupported plataform")
renpy.quit()
elif (cmd == "help"):
print("=========================================================")
diff --git a/game/discord.rpy b/game/discord.rpy
index fda547a..6c9a1e8 100644
--- a/game/discord.rpy
+++ b/game/discord.rpy
@@ -66,6 +66,7 @@ label before_main_menu:
label quit:
$ responsive=False
+ $ print("")
python:
try:
stdout("Shutdown requested, cleaning up...")