mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 23:36:59 -04:00
Also install the separate Sounds directory for Tribunal
This commit is contained in:
parent
5024f1bf77
commit
ceb66d0790
@ -554,6 +554,17 @@ bool Wizard::UnshieldWorker::installComponent(Component component)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (component == Wizard::Component_Tribunal)
|
||||||
|
{
|
||||||
|
QFileInfo sounds(temp.absoluteFilePath(QLatin1String("Sounds")));
|
||||||
|
|
||||||
|
if (sounds.exists()) {
|
||||||
|
emit textChanged(tr("Extracting: Sound directory"));
|
||||||
|
copyDirectory(sounds.absoluteFilePath(), getPath() + QDir::separator() + QLatin1String("Sound"));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if (component == Wizard::Component_Bloodmoon)
|
if (component == Wizard::Component_Bloodmoon)
|
||||||
{
|
{
|
||||||
QFileInfo patch(temp.absoluteFilePath(QLatin1String("Tribunal Patch") + QDir::separator() + QLatin1String("Tribunal.esm")));
|
QFileInfo patch(temp.absoluteFilePath(QLatin1String("Tribunal Patch") + QDir::separator() + QLatin1String("Tribunal.esm")));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user