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:
parent
567a31eb78
commit
109a3f50fb
|
@ -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.
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue