Update basaltPreview.lua

Copied from the Basalt wiki example
This commit is contained in:
toastonrye
2022-08-06 10:04:22 -05:00
committed by GitHub
parent 5b422905fe
commit e6717c8648

View File

@@ -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