From 57b303f5389b590f317838724baf3b2f70bc1e09 Mon Sep 17 00:00:00 2001 From: toastonrye Date: Mon, 8 Aug 2022 16:58:28 -0500 Subject: [PATCH] Update redstoneAnalogOutput.lua --- examples/redstoneAnalogOutput.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/redstoneAnalogOutput.lua b/examples/redstoneAnalogOutput.lua index 4a43f5d..ef4d287 100644 --- a/examples/redstoneAnalogOutput.lua +++ b/examples/redstoneAnalogOutput.lua @@ -1,10 +1,7 @@ --- 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 - shell.run("pastebin run ESs1mg7P packed true "..filePath:gsub(".lua", "")) -- this is an alternative to the wget command + shell.run("pastebin run ESs1mg7P packed true "..filePath) -- this is an alternative to the wget command end -- toastonrye's example: Redstone Analog Output local basalt = require(filePath:gsub(".lua", "")) -- here you can change the variablename in any variablename you want default: basalt - -local main = basalt.createFrame()