From 0b45935a85fd4e8ce791f2941cb54c50145e836f Mon Sep 17 00:00:00 2001 From: ARSON <58544287+Upbolt@users.noreply.github.com> Date: Wed, 26 Oct 2022 21:29:35 -0700 Subject: [PATCH] changing version file extension to .txt --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index af134285..3e319356 100644 --- a/init.lua +++ b/init.lua @@ -189,7 +189,7 @@ local releaseInfo = HttpService:JSONDecode(game:HttpGetAsync("https://api.github if readFile and writeFile then local hasFolderFunctions = (isFolder and makeFolder) ~= nil - local ran, result = pcall(readFile, "version.oh") + local ran, result = pcall(readFile, "__oh_version.txt") if not ran or releaseInfo.tag_name ~= result then if hasFolderFunctions then @@ -250,7 +250,7 @@ if readFile and writeFile then return unpack(assets) end - writeFile("version.oh", releaseInfo.tag_name) + writeFile("__oh_version.txt", releaseInfo.tag_name) elseif ran and releaseInfo.tag_name == result then function environment.import(asset) if importCache[asset] then