ACTUALLY fix the issue

This commit is contained in:
WahPlus
2025-09-25 08:48:31 +03:00
committed by GitHub
parent f28812205e
commit c83fe8a7f4
+1 -2
View File
@@ -11,8 +11,6 @@ else
gpu = loadfile("/lib/component.lua")(loadfile).gpu gpu = loadfile("/lib/component.lua")(loadfile).gpu
end end
fs.makeDirectory("halyde/logs") -- Git likes to not clone empty directories
local resX, resY = gpu.getResolution() local resX, resY = gpu.getResolution()
local log = {} local log = {}
if not _G.logSettings then if not _G.logSettings then
@@ -25,6 +23,7 @@ end
local logFileSizeLimit = 16384 local logFileSizeLimit = 16384
local function writeToLog(path, text) local function writeToLog(path, text)
fs.makeDirectory("halyde/logs") -- Git likes to not clone empty directories
local handle local handle
if fs.exists(path) then if fs.exists(path) then
handle = assert(fs.open(path, "a")) handle = assert(fs.open(path, "a"))