feat: support roblox_server_packages/ for sync config generator

This commit is contained in:
Suray 2025-02-10 15:43:32 +03:00 committed by GitHub
parent 7d2dd1964e
commit cbe2680242
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -104,6 +104,17 @@ return function(
}
end
-- If the config tree does not include pesde's downloaded roblox server dependencies
-- directory, we add it as an optional one for the future, once server dependencies
-- are installed
if not syncConfigTree["roblox_server_packages"] then
syncConfigTree["roblox_server_packages"] = {
["$path"] = {
optional = "roblox_server_packages",
},
}
end
-- Finally, we serialize the config to a JSON string and optionally write it
-- to the sync config path
local serializedConfig =