Sick as fuck

This commit is contained in:
Soph :3 2025-11-12 15:28:24 +02:00
parent 982a45bbac
commit cc599c5ef7

View file

@ -1,5 +1,11 @@
local inv = require("modules.inv");
local PrimeUI = require("lib.primeui").PrimeUI;
local function is_beta(ver)
if ver:match("^[0-9a-f]+$") and #ver >= 8 then
return false
end
return true
end
local function run()
local search = ""
@ -46,8 +52,10 @@ local function run()
updateEntries()
end, "Input a item to search..")
PrimeUI.label(win, 2, h-1, "primeui ui refucked", colors.lightGray)
PrimeUI.label(win, 2, h-2, "rev. " .. fs.open("storage-solution/version", "r").readAll(), colors.lightGray)
local ver = fs.open("storage-solution/version", "r").readAll()
PrimeUI.label(win, 2, h-1, is_beta(ver) and "you're running beta :3" or "welcome to SiSS", colors.lightGray)
PrimeUI.label(win, 2, h-2, "rev. " .. ver, colors.lightGray)
local timer = os.startTimer(1)
PrimeUI.addTask(function()