Compare commits

...

2 Commits

Author SHA1 Message Date
a1c1fe61b2 i hate lua, it's awesome. 2024-08-17 22:35:49 -04:00
4c3f15f585 i hate lua, it's awesome. 2024-08-17 22:35:40 -04:00
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ rawset(__BUNDLER_FILES, "updater.lua", function ()
--its been considerable time since the keypad was interacted with --its been considerable time since the keypad was interacted with
--therefore it's time to force an update down the users throat (microsoft moment) --therefore it's time to force an update down the users throat (microsoft moment)
if difference > .5 then if difference > .5 then
local update_code_request = http.get("https://git.mcorangehq.xyz/xomf/keypadOS/raw/branch/main/keypadOS.lua?x=" + tostring( math.random(11111111,99999999) )) --I HATE CACHE REEEEEEEEEEEEEEEEE local update_code_request = http.get("https://git.mcorangehq.xyz/xomf/keypadOS/raw/branch/main/keypadOS.lua?x=" .. tostring( math.random(11111111,99999999) )) --I HATE CACHE REEEEEEEEEEEEEEEEE
if update_code_request then if update_code_request then
local update_code_text = update_code_request.readAll() local update_code_text = update_code_request.readAll()
if update_code_text then if update_code_text then

View File

@ -11,7 +11,7 @@ local function checkForUpdate()
--its been considerable time since the keypad was interacted with --its been considerable time since the keypad was interacted with
--therefore it's time to force an update down the users throat (microsoft moment) --therefore it's time to force an update down the users throat (microsoft moment)
if difference > .5 then if difference > .5 then
local update_code_request = http.get("https://git.mcorangehq.xyz/xomf/keypadOS/raw/branch/main/keypadOS.lua?x=" + tostring( math.random(11111111,99999999) )) --I HATE CACHE REEEEEEEEEEEEEEEEE local update_code_request = http.get("https://git.mcorangehq.xyz/xomf/keypadOS/raw/branch/main/keypadOS.lua?x=" .. tostring( math.random(11111111,99999999) )) --I HATE CACHE REEEEEEEEEEEEEEEEE
if update_code_request then if update_code_request then
local update_code_text = update_code_request.readAll() local update_code_text = update_code_request.readAll()
if update_code_text then if update_code_text then