diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-19 15:44:29 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-19 15:44:29 -0300 |
commit | 5695ee23f82789d60dcd04569da25fd6855cbb6e (patch) | |
tree | 42073fca475a2514344b37bd65e2bc45464905bb | |
parent | 8c91a0e24c8e5f793372c74955ed248fedc76e04 (diff) | |
download | renpy-5695ee23f82789d60dcd04569da25fd6855cbb6e.tar.gz renpy-5695ee23f82789d60dcd04569da25fd6855cbb6e.tar.bz2 renpy-5695ee23f82789d60dcd04569da25fd6855cbb6e.tar.xz renpy-5695ee23f82789d60dcd04569da25fd6855cbb6e.zip |
Improve version output
-rw-r--r-- | game/core.rpy | 9 | ||||
-rw-r--r-- | game/discord.rpy | 1 |
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...") |