Made log.lua make the halyde/logs directory if it's not present

This commit is contained in:
WahPlus
2025-09-25 08:37:52 +03:00
committed by GitHub
parent 2f512b5e99
commit f28812205e
+2
View File
@@ -11,6 +11,8 @@ else
gpu = loadfile("/lib/component.lua")(loadfile).gpu
end
fs.makeDirectory("halyde/logs") -- Git likes to not clone empty directories
local resX, resY = gpu.getResolution()
local log = {}
if not _G.logSettings then