aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/mods/modsavefiles.cpp
diff options
context:
space:
mode:
authorRémy Raes <contact@remyraes.com>2023-10-09 01:34:47 +0200
committerGitHub <noreply@github.com>2023-10-09 01:34:47 +0200
commita040bff98c16b79a3e817af441a795cf4f407069 (patch)
treee120401207c3218af42f0a394ac6ee3f3a7a0213 /NorthstarDLL/mods/modsavefiles.cpp
parent70a0114caa21ab7417c3cc74c1cf8f46cfd197a1 (diff)
downloadNorthstarLauncher-a040bff98c16b79a3e817af441a795cf4f407069.tar.gz
NorthstarLauncher-a040bff98c16b79a3e817af441a795cf4f407069.zip
Create mod entry in `enabledmods.json` if it doesn't exist (#410)
Currently, when you add a new mod to your `mods/` directory, when there's no associated entry in the `enabledmods.json` file, it is considered enabled by default; mod entries are only written in `enabledmods.json` when toggling them via the mods interface. In this pull request, I propose to create mod entries in `enabledmods.json` on startup when detecting they don't exist.
Diffstat (limited to 'NorthstarDLL/mods/modsavefiles.cpp')
0 files changed, 0 insertions, 0 deletions