diff options
Diffstat (limited to 'src/modules/mods.js')
-rw-r--r-- | src/modules/mods.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mods.js b/src/modules/mods.js index d3d3a50..3c469c3 100644 --- a/src/modules/mods.js +++ b/src/modules/mods.js @@ -602,7 +602,7 @@ mods.remove = (mod) => { // if the mod has a manifest.json we want to save it now so we can // send it later when telling the renderer about the deleted mod if (fs.existsSync(path.join(mod_path, "manifest.json"))) { - manifest_name = require(path.join(mod_path, "manifest.json")).name; + manifest_name = json(path.join(mod_path, "manifest.json")).name; } // actually remove the mod itself |