From 3990d7697c3552bcb1f70d28a53afb6a3ac785bb Mon Sep 17 00:00:00 2001 From: meehl Date: Sat, 18 Apr 2026 10:18:42 +0000 Subject: [PATCH] Apply changes from https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/9777 --- src/UpdateCheck.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UpdateCheck.lua b/src/UpdateCheck.lua index 7d3f8bec7c..969357151d 100644 --- a/src/UpdateCheck.lua +++ b/src/UpdateCheck.lua @@ -305,7 +305,7 @@ local ops = { } local opsRuntime = { } for _, data in pairs(updateFiles) do -- Ensure that the destination path of this file exists - local dirStr = "" + local dirStr = data.fullPath:sub(1,1) == "/" and "/" or "" for dir in data.fullPath:gmatch("([^/]+/)") do dirStr = dirStr .. dir MakeDir(dirStr)