From dd3d1116c09dff9d26dc6838e0507aafb16c0646 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Thu, 12 Oct 2023 13:22:59 -0400 Subject: [PATCH] Add a flag to make Git hash display on launcher builds. --- Project.xml | 7 +++++++ source/funkin/util/Constants.hx | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Project.xml b/Project.xml index ccf6c83a3..9d09d2457 100644 --- a/Project.xml +++ b/Project.xml @@ -196,6 +196,13 @@ +
+ + + + +
+ --> --> diff --git a/source/funkin/util/Constants.hx b/source/funkin/util/Constants.hx index efabf10c3..ffaf7b9ec 100644 --- a/source/funkin/util/Constants.hx +++ b/source/funkin/util/Constants.hx @@ -39,7 +39,7 @@ class Constants */ public static final VERSION_SUFFIX:String = ' PROTOTYPE'; - #if debug + #if (debug || FORCE_DEBUG_VERSION) static function get_VERSION():String { return 'v${Application.current.meta.get('version')} (${GIT_BRANCH} : ${GIT_HASH})' + VERSION_SUFFIX;