mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Display the build date in the editor and when starting the engine
This can be used to quickly see how recent a development build is, without having to look up the commit date manually. When juggling around with various builds (e.g. for benchmarking), this can also be used to ensure that you're actually running the binary you intended to run. The date stored is the date of the Git commit that is built, not the current date at the time of building the binary. This ensures binaries can remain reproducible. The version timestamp can be accessed using the `timestamp` key of the `Engine.get_version_info()` return value.
This commit is contained in:
@@ -46,6 +46,7 @@ class Main {
|
||||
CLI_OPTION_AVAILABILITY_HIDDEN,
|
||||
};
|
||||
|
||||
static void print_header(bool p_rich);
|
||||
static void print_help_copyright(const char *p_notice);
|
||||
static void print_help_title(const char *p_title);
|
||||
static void print_help_option(const char *p_option, const char *p_description, CLIOptionAvailability p_availability = CLI_OPTION_AVAILABILITY_TEMPLATE_RELEASE);
|
||||
|
||||
Reference in New Issue
Block a user