Merge branch 'Pyroxenium:master' into erb3-patch1

This commit is contained in:
Erlend
2022-05-30 07:24:42 +02:00
committed by GitHub

View File

@@ -1,12 +1,13 @@
--Basalt configurated installer --Basalt configurated installer
local filePath = "basalt.lua" --here you can change the file path default: basalt.lua local filePath = "basalt.lua" --here you can change the file path default: basalt.lua
if not(fs.exists(filePath))then if not(fs.exists(filePath))then
shell.run("wget https://raw.githubusercontent.com/NoryiE/Basalt/master/basalt.lua "..filePath) shell.run("wget https://raw.githubusercontent.com/Pyroxenium/Basalt/master/basalt.lua "..filePath)
end end
local basalt = dofile("basalt.lua") -- here you can change the variablename in any variablename you want default: basalt local basalt = dofile("basalt.lua") -- here you can change the variablename in any variablename you want default: basalt
local w, h = term.getSize() local w, h = term.getSize()
local main = basalt.createFrame("mainFrame"):show() local main = basalt.createFrame("mainFrame"):show()
local objFrame = main:addFrame("objectFrame"):setPosition(1,2):setBackground(colors.lightGray):setSize(w, h-1):show() local objFrame = main:addFrame("objectFrame"):setPosition(1,2):setBackground(colors.lightGray):setSize(w, h-1):show()
local programFrame = main:addFrame("programFrame"):setPosition(1,2):setBackground(colors.lightGray):setSize(w, h-1) local programFrame = main:addFrame("programFrame"):setPosition(1,2):setBackground(colors.lightGray):setSize(w, h-1)