소스 검색

[changed] dev builds will now display `git hash` alongside version number

LinaHirata 4 달 전
부모
커밋
d22341d77a
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      locations/Cheatmenu_din.qsrc
  2. 2 2
      locations/start.qsrc

+ 1 - 1
locations/Cheatmenu_din.qsrc

@@ -3606,7 +3606,7 @@ $cheatmenu['about'] = {
 	gs 'addbuilddate'
 	'<center><h1>About Window</h1></center>'
 	'<center><table cellspacing="0" cellpadding="20" valign="top">'
-	'<tr><td><h3><center>Girl Life version <<version_major>>.<<version_minor>>.<<version_revision>>.<<version_patch>></center></h3></td></tr>'
+	'<tr><td><h3><center>Girl Life version <<version_major+"."+version_minor+"."+version_revision+"."+version_patch+iif($git_hash ! "", "<br>"+$git_hash+" (dev build)", "")>></center></h3></td></tr>'
 	'<tr><td><h3><center>built on <<$builddate>></center></h3></td></tr>'
 	'<tr><td><h5><center>if loaded so it was the save from</center></h5></td></tr>'
 	'<tr><td cellspacing="0" cellpadding="20" valign="top"><center><<$version>></center></td></tr>'

+ 2 - 2
locations/start.qsrc

@@ -29,11 +29,11 @@ fsize = 12
 
 gs 'saveg'
 gs 'addbuilddate'
-$version = '<<version_major>>.<<version_minor>>.<<version_revision>>.<<version_patch>> built on <<$builddate>> for the 10 days late even with the extra month version'
+$version = '<b><<version_major+"."+version_minor+"."+version_revision+"."+version_patch+iif($git_hash ! "", "<br>"+$git_hash+" (dev build)", "")>></b><br>built on <b><<$builddate>></b>'
 opPRE = 1
 
 *nl
-'<center>Version <b><<$version>></b></center>'
+'<center>Version <<$version>></center>'
 '<center><font color="red"><b>Children under 18 years are strictly forbidden to play</b></font>'
 *nl
 '<center><img <<$set_imgh>> src="images/system/1_openings/splashes/splash' + rand(1,30) + '.jpg" ></center>'