Browse Source

Let's shit out built.txt for all versions, on second th0t =]

Wazakindjes 3 years ago
parent
commit
7693af23cb
1 changed files with 9 additions and 9 deletions
  1. 9 9
      avy/build.bat

+ 9 - 9
avy/build.bat

@@ -1,6 +1,9 @@
 rem Partially ripped from Syzop's Unreal repo =]]]]
 rem Build script for AppVey0r
 
+rem Let's start with this lol
+tzutil /s "GMT Standard Time"
+
 rem Initialize Visual Studio variables
 rem Keeping the if for future reference, there's no real need for it atm lol
 if "%TARGET%" == "Visual Studio 2017" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
@@ -90,15 +93,12 @@ if %mycount% NEQ %totalcount% EXIT /B 1
 rem We gucci mane, let's prepare some files for el zipperin0
 cd \projects\_zip
 
-rem Need to shit out datetime file for ze git versi0ne imo tbh (premium build deets etc)
-if "%GOTTEMVERSION%" == "git" (
-	tzutil /s "GMT Standard Time"
-	set HOUR=%time:~0,2%
-	set dtStamp9=%date:~-4%%date:~4,2%%date:~7,2%_0%time:~1,1%%time:~3,2%%time:~6,2%
-	set dtStamp24=%date:~-4%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%%time:~6,2%
-	if "%HOUR:~0,1%" == " " (set dtStamp=%dtStamp9%) else (set dtStamp=%dtStamp24%)
-	echo %dtStamp% >built.txt
-)
+rem Need to shit out datetime file (premium build deets etc)
+set HOUR=%time:~0,2%
+set dtStamp9=%date:~-4%/%date:~4,2%/%date:~7,2% 0%time:~1,1%:%time:~3,2%:%time:~6,2%
+set dtStamp24=%date:~-4%/%date:~4,2%/%date:~7,2% %time:~0,2%:%time:~3,2%:%time:~6,2%
+if "%HOUR:~0,1%" == " " (set dtStamp=%dtStamp9%) else (set dtStamp=%dtStamp24%)
+echo Built on: %dtStamp% GMT >built.txt
 
 rem Fancy ass HTML version of the repo's README ;];;] (regenerated way before we get to this point lmao)
 wget https://u4win.gottem.nl/README.html