From 5695ee23f82789d60dcd04569da25fd6855cbb6e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 19 May 2021 15:44:29 -0300 Subject: Improve version output --- game/core.rpy | 9 ++++++++- game/discord.rpy | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) 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...") -- cgit v1.2.3-70-g09d2