ModSync
ModSync copied to clipboard
Allow intersected sync paths with different parameters
Example of config.jsonc
{
"syncPaths": [
{
"path": "BepInEx/config/FOVFix.cfg",
"enabled": true,
"enforced": false,
"restartRequired": false
},
{
"path": "BepInEx/config",
"enabled": true,
"enforced": true,
"restartRequired": false
}
],
"commonModExclusions": [
]
}
The example aims to enforce sync of all files in BepInEx/config except FOVFix.cfg, which is not forced.
It should rely on the order in syncPaths: the higher the position - the higher the order.
With this change:
- It's not required to add all config files manually with an
enforcedparameter - This will allow the update
BepInEx/configfiles without touching files allowed to be modified by skipping the update (enforced files always be downloaded)
Added with v0.9.0