Updated Installer (markdown)
@@ -37,7 +37,7 @@ if not(fs.exists(filePath))then
|
||||
local event, p1,p2,p3,p4 = os.pullEvent()
|
||||
if(event=="mouse_click")then
|
||||
if(p3==math.floor(h/2+2))and(p2>=w/2-8)and(p2<=w/2-2)then
|
||||
shell.run("wget https://raw.githubusercontent.com/NoryiE/Basalt/master/basalt.lua "..filePath)
|
||||
shell.run("pastebin run ESs1mg7P")
|
||||
_installerWindow.setVisible(false)
|
||||
term.clear()
|
||||
break
|
||||
@@ -64,7 +64,7 @@ Here is a very basic one which just installs basalt.lua if don't exist:
|
||||
--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("wget https://raw.githubusercontent.com/NoryiE/Basalt/master/basalt.lua "..filePath)
|
||||
shell.run("pastebin run ESs1mg7P")
|
||||
end
|
||||
local basalt = dofile(filePath) -- here you can change the variablename in any variablename you want default: basalt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user