Fix path separator

This commit is contained in:
Gabriel Tofvesson 2024-12-04 22:52:19 +01:00
parent 0ff69b53f6
commit 6b78404821

View File

@ -2,7 +2,7 @@ local CC_UTILS_DIR = "/cc-utilities"
local function onResume(scriptArgs)
if #scriptArgs > 0 then
scriptArgs[1] = CC_UTILS_DIR .. scriptArgs[1]
scriptArgs[1] = CC_UTILS_DIR .. "/" .. scriptArgs[1]
shell.run(table.unpack(scriptArgs))
end
end
@ -23,5 +23,5 @@ end
shell.run("clone https://gitea.tofvesson.se/GabrielTofvesson/cc-utilities.git")
local nextVersion = require(CC_UTILS_DIR .. "reload")
local nextVersion = require(CC_UTILS_DIR .. "/reload")
local _ = ((type(nextVersion) == "table" and type(nextVersion.onResume) == "function") and nextVersion.onResume or onResume)({...})