Sick as fuck
This commit is contained in:
parent
982a45bbac
commit
cc599c5ef7
1 changed files with 10 additions and 2 deletions
|
|
@ -1,5 +1,11 @@
|
||||||
local inv = require("modules.inv");
|
local inv = require("modules.inv");
|
||||||
local PrimeUI = require("lib.primeui").PrimeUI;
|
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 function run()
|
||||||
local search = ""
|
local search = ""
|
||||||
|
|
@ -46,8 +52,10 @@ local function run()
|
||||||
updateEntries()
|
updateEntries()
|
||||||
end, "Input a item to search..")
|
end, "Input a item to search..")
|
||||||
|
|
||||||
PrimeUI.label(win, 2, h-1, "primeui ui refucked", colors.lightGray)
|
local ver = fs.open("storage-solution/version", "r").readAll()
|
||||||
PrimeUI.label(win, 2, h-2, "rev. " .. fs.open("storage-solution/version", "r").readAll(), colors.lightGray)
|
|
||||||
|
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)
|
local timer = os.startTimer(1)
|
||||||
PrimeUI.addTask(function()
|
PrimeUI.addTask(function()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue