diff --git a/Capy64/Assets/Lua/bios.lua b/Capy64/Assets/Lua/bios.lua index 8730e6b..541278d 100644 --- a/Capy64/Assets/Lua/bios.lua +++ b/Capy64/Assets/Lua/bios.lua @@ -96,7 +96,9 @@ local function promptKey() end local function installDefaultOS() - fs.delete("/sys", true) + if fs.exists("/sys") then + fs.delete("/sys", true) + end installOS() end