22 lines
445 B
Haxe
22 lines
445 B
Haxe
package funkin.backend.system.framerate;
|
|
|
|
import funkin.backend.system.macros.GitCommitMacro;
|
|
import openfl.text.TextField;
|
|
|
|
class CodenameBuildField extends TextField {
|
|
public function new() {
|
|
super();
|
|
defaultTextFormat = Framerate.textFormat;
|
|
autoSize = LEFT;
|
|
multiline = wordWrap = false;
|
|
reload();
|
|
}
|
|
|
|
public function reload() {
|
|
text = '${Flags.VERSION_MESSAGE}';
|
|
#if debug
|
|
text += '\n${Flags.COMMIT_MESSAGE}';
|
|
#end
|
|
}
|
|
}
|