mirror of
https://github.com/pesde-pkg/scripts.git
synced 2025-03-05 03:21:43 +00:00
feat: support roblox_server_packages/
for sync config generator
This commit is contained in:
parent
7d2dd1964e
commit
cbe2680242
1 changed files with 11 additions and 0 deletions
|
@ -104,6 +104,17 @@ return function(
|
||||||
}
|
}
|
||||||
end
|
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
|
-- Finally, we serialize the config to a JSON string and optionally write it
|
||||||
-- to the sync config path
|
-- to the sync config path
|
||||||
local serializedConfig =
|
local serializedConfig =
|
||||||
|
|
Loading…
Add table
Reference in a new issue