GH-1178 sanitize mod paths while installing folder mods
This commit is contained in:
@ -105,7 +105,7 @@ void LegacyJarModPage::on_addJarBtn_clicked()
|
||||
m_jarmods->stopWatching();
|
||||
for (auto filename : list)
|
||||
{
|
||||
m_jarmods->installMod(QFileInfo(filename));
|
||||
m_jarmods->installMod(filename);
|
||||
}
|
||||
m_jarmods->startWatching();
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ void ModFolderPage::on_addModBtn_clicked()
|
||||
m_mods->stopWatching();
|
||||
for (auto filename : list)
|
||||
{
|
||||
m_mods->installMod(QFileInfo(filename));
|
||||
m_mods->installMod(filename);
|
||||
}
|
||||
m_mods->startWatching();
|
||||
}
|
||||
|
Reference in New Issue
Block a user