From 3b7e52fce1fffd3700a7a3acac6a27c508d48164 Mon Sep 17 00:00:00 2001 From: thecraftianman <64441307+thecraftianman@users.noreply.github.com> Date: Thu, 21 Mar 2024 17:07:17 -0400 Subject: [PATCH] Handle Workshop like master branch I was trying to have the Workshop install appear as such in the version, but it may be simpler to just make it appear as the master branch instead. --- lua/acf/core/version/version_sh.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/acf/core/version/version_sh.lua b/lua/acf/core/version/version_sh.lua index 76fa48e04..0c0b2a3fe 100644 --- a/lua/acf/core/version/version_sh.lua +++ b/lua/acf/core/version/version_sh.lua @@ -83,7 +83,7 @@ do -- Local repository version checking local Code = string.sub(FileData, 1, 7) local Date = file.Time(WorkshopPath, "GAME") - Data.Code = "Workshop-" .. Code + Data.Code = "Git-master-" .. Code Data.Date = LocalToUTC(Date) elseif file.Exists(Path .. "/LICENSE", "GAME") then local Date = file.Time(Path .. "/LICENSE", "GAME")