forked from teamnwah/openmw-tes3coop
Support separate Splash directory, found in some installation media cabinets
This commit is contained in:
parent
3792b301e9
commit
d30c4edb14
1 changed files with 8 additions and 0 deletions
|
@ -587,6 +587,14 @@ bool Wizard::UnshieldWorker::installComponent(Component component)
|
|||
|
||||
if (component == Wizard::Component_Morrowind)
|
||||
{
|
||||
// Some installations have a separate Splash directory
|
||||
QFileInfo splash(temp.absoluteFilePath(QLatin1String("Splash")));
|
||||
|
||||
if (splash.exists()) {
|
||||
emit textChanged(tr("Extracting: Splash directory"));
|
||||
copyDirectory(splash.absoluteFilePath(), getPath() + QDir::separator() + QLatin1String("Splash"));
|
||||
}
|
||||
|
||||
// Copy Morrowind configuration file
|
||||
QString iniPath(temp.absoluteFilePath(QLatin1String("App Executables")));
|
||||
iniPath.append(QDir::separator() + QLatin1String("Morrowind.ini"));
|
||||
|
|
Loading…
Reference in a new issue