From 34ef6a7e387a159123a7be1b48f0f7e79b6c44ac Mon Sep 17 00:00:00 2001 From: ajh123 Date: Sun, 21 Aug 2022 16:47:59 +0100 Subject: [PATCH] Installer files 2 fix? 4 fix typo --- installer.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installer.lua b/installer.lua index 9de62a9..6c3d0ec 100644 --- a/installer.lua +++ b/installer.lua @@ -16,7 +16,7 @@ local async = true local silent = false local myPath = shell.dir() -shell.setDr("/") +shell.setDir("/") local preset = { -- The GitHub account name @@ -39,7 +39,7 @@ local preset = { -- Function to run when the download completes done = function() shell.run("IPvCC/setup/main.lua") - shell.setDr(myPath) + shell.setDir(myPath) end } @@ -56,7 +56,7 @@ if #args < 2 then end local function save(data,file) - shell.setDr("/") + shell.setDir("/") local file = shell.resolve(file:gsub("%%20"," ")) if not (fs.exists(string.sub(file,1,#file - #fs.getName(file))) and fs.isDir(string.sub(file,1,#file - #fs.getName(file)))) then if fs.exists(string.sub(file,1,#file - #fs.getName(file))) then fs.delete(string.sub(file,1,#file - #fs.getName(file))) end