bl-sdk / willow2-mod-manager

The PythonSDK Mod Manager for BL2, TPS, and AoDK.
https://bl-sdk.github.io/
36 stars 10 forks source link

Detect mods in nested folder and issue warning #2

Open apple1417 opened 2 years ago

apple1417 commented 2 years ago

A lot of people make the mistake of extracting mods to a nested folder (i.e. Mods/MyMod/MyMod/__init__.py) when trying to install. This causes no visible errors (unless something else tries to import the mod). We should try detect it, and throw a warning.