diff options
author | Rémy Raes <contact@remyraes.com> | 2023-10-09 01:34:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 01:34:47 +0200 |
commit | a040bff98c16b79a3e817af441a795cf4f407069 (patch) | |
tree | e120401207c3218af42f0a394ac6ee3f3a7a0213 /NorthstarDLL/scripts/scriptdatatables.cpp | |
parent | 70a0114caa21ab7417c3cc74c1cf8f46cfd197a1 (diff) | |
download | NorthstarLauncher-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/scripts/scriptdatatables.cpp')
0 files changed, 0 insertions, 0 deletions