Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Installer files 2 fix? 4
Browse files Browse the repository at this point in the history
  • Loading branch information
ajh123 committed Aug 21, 2022
1 parent 4575a40 commit 7609ddf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions installer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ if #args < 2 then
end

local function save(data,file)
shell.setDr("/")
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
Expand Down

0 comments on commit 7609ddf

Please sign in to comment.