1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-09-12 05:07:06 +00:00

Always fetch git hash while building and always display git hash in the logs.

This commit is contained in:
EliteMasterEric 2024-04-30 22:42:58 -04:00
parent 567a31eb78
commit 109a3f50fb
2 changed files with 1 additions and 2 deletions

View file

@ -90,7 +90,6 @@ class Constants
*/
// ==============================
#if (debug || FORCE_DEBUG_VERSION)
/**
* The current Git branch.
*/
@ -100,7 +99,6 @@ class Constants
* The current Git commit hash.
*/
public static final GIT_HASH:String = funkin.util.macro.GitCommit.getGitCommitHash();
#end
/**
* The current library versions, as provided by hmm.

View file

@ -115,6 +115,7 @@ class CrashHandler
fullContents += '\n';
fullContents += 'Generated by: ${Constants.GENERATED_BY}\n';
fullContents += ' Git hash: ${Constants.GIT_HASH}\n';
fullContents += 'System timestamp: ${DateUtil.generateTimestamp()}\n';
var driverInfo = FlxG?.stage?.context3D?.driverInfo ?? 'N/A';
fullContents += 'Driver info: ${driverInfo}\n';