diff --git a/examples/basaltPreview.lua b/examples/basaltPreview.lua index 040b7b6..5646d46 100644 --- a/examples/basaltPreview.lua +++ b/examples/basaltPreview.lua @@ -1,7 +1,7 @@ --Basalt configurated installer local filePath = "basalt.lua" --here you can change the file path default: basalt.lua if not(fs.exists(filePath))then - shell.run("pastebin run ESs1mg7P packed true "..filePath) -- this is an alternative to the wget command + shell.run("pastebin run ESs1mg7P packed true "..filePath:gsub(".lua", "")) -- this is an alternative to the wget command end local basalt = require(filePath:gsub(".lua", "")) -- here you can change the variablename in any variablename you want default: basalt diff --git a/examples/basaltPreview2.lua b/examples/basaltPreview2.lua index 6dc526a..5f3da3f 100644 --- a/examples/basaltPreview2.lua +++ b/examples/basaltPreview2.lua @@ -1,6 +1,6 @@ local basalt = require("Basalt") -basalt.setVariable("buttonColor", basalt.shedule(function(self) +basalt.setVariable("buttonColor", basalt.schedule(function(self) self:setBackground(colors.black) self:setForeground(colors.lightGray) os.sleep(0.1) @@ -159,4 +159,4 @@ end) main = basalt.createFrame():addLayout("basaltPreview2.xml") -basalt.autoUpdate() \ No newline at end of file +basalt.autoUpdate()