mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-06 01:13:45 -04:00
use zip name for atmosphere mods
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
5ba2b06306
commit
4ecfe99201
1 changed files with 4 additions and 1 deletions
|
|
@ -33,7 +33,10 @@ QStringList GetModFolders(const QString& root, const QString& fallbackName) {
|
|||
std_path = paths[0];
|
||||
|
||||
QString default_name;
|
||||
if (!paths.empty())
|
||||
|
||||
// If this is an atmosphere-packed mod, the default name will end up as the game's title ID.
|
||||
// So in this case ignore it and use the zip name instead
|
||||
if (!paths.empty() && std_path.string().find("atmosphere") == std::string::npos)
|
||||
default_name = QString::fromStdString(std_path.filename().string());
|
||||
else if (!fallbackName.isEmpty())
|
||||
default_name = fallbackName;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue