Skip to content

Commit

Permalink
Merge pull request #810 from thunderstore-io/exclude-bepinex-server
Browse files Browse the repository at this point in the history
Exclude BepInEx_Server from mod linker
  • Loading branch information
ebkr authored Jul 9, 2022
2 parents 9d40478 + bf0f17c commit 97df94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/r2mm/manager/ModLinker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default class ModLinker {
}
} else {
if ((await fs.lstat(path.join(profile.getPathOfProfile(), file))).isDirectory()) {
if (!["bepinex", "mods", "melonloader", "plugins", "userdata", "_state", "userlibs", "qmods"].includes(file.toLowerCase())) {
if (!["bepinex", "bepinex_server", "mods", "melonloader", "plugins", "userdata", "_state", "userlibs", "qmods"].includes(file.toLowerCase())) {
const fileProfileFolderPath = path.join(profile.getPathOfProfile(), file);
const fileTree = await FileTree.buildFromLocation(fileProfileFolderPath);
if (fileTree instanceof R2Error) {
Expand Down

0 comments on commit 97df94a

Please sign in to comment.