From 42450d42d3086aa9d5400a059f5aaced5b3525d0 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Fri, 3 Jun 2022 21:47:51 +0200 Subject: [PATCH] Update installer.md --- docs/home/installer.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/home/installer.md b/docs/home/installer.md index 168c44e..5a8609d 100644 --- a/docs/home/installer.md +++ b/docs/home/installer.md @@ -51,12 +51,12 @@ 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("pastebin run ESs1mg7P "..filePath) -- this is an alternative to the wget command + shell.run("pastebin run ESs1mg7P "..filePath) _installerWindow.setVisible(false) term.clear() break end - if(p3==h/2+2)and(p2<=w/2+9)and(p2>=w/2+4)then + if(p3==math.floor(h/2+2))and(p2<=w/2+9)and(p2>=w/2+4)then _installerWindow.clear() _installerWindow.setVisible(false) term.setCursorPos(1,1) @@ -70,4 +70,5 @@ if not(fs.exists(filePath))then end local basalt = dofile(filePath) -- here you can change the variablename in any variablename you want default: basalt +------------------------------ ````