summaryrefslogtreecommitdiff
path: root/src/installationmanager.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-08-25 20:12:25 +0200
committerTannin <devnull@localhost>2014-08-25 20:12:25 +0200
commit84598cbcbf08862fe02300bf3945b194df12ddfa (patch)
tree60d1e02575cfa5204470b9f9c00d80ba156604c6 /src/installationmanager.cpp
parent02973be652a4fd1f161d62ff60509eed639f8d6a (diff)
- processes spawned from MO are now themselves allowed to break away from the job.
Without this the CEF (chromium embedded framework) seems to fail - bugfix: Fixed an error message when installing a fomod wrapped in an archive - bugfix: sorting plugins had no effect on non-skyrim games - bugfix: fomod parser quit installing filelists after one file - bugfix: function retrieving local appdata path read wrong directory
Diffstat (limited to 'src/installationmanager.cpp')
-rw-r--r--src/installationmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp
index c865d897..29914b65 100644
--- a/src/installationmanager.cpp
+++ b/src/installationmanager.cpp
@@ -266,9 +266,11 @@ QStringList InstallationManager::extractFiles(const QStringList &filesOrig, bool
IPluginInstaller::EInstallResult InstallationManager::installArchive(GuessedValue<QString> &modName, const QString &archiveName)
{
- GuessedValue<QString> temp(modName);
+ // in earlier versions the modName was copied here and the copy passed to install. I don't know why I did this and it causes
+ // a problem if this is called by the bundle installer and the bundled installer adds additional names that then end up being used,
+ // because the caller will then not have the right name.
bool iniTweaks;
- if (install(archiveName, temp, iniTweaks)) {
+ if (install(archiveName, modName, iniTweaks)) {
return IPluginInstaller::RESULT_SUCCESS;
} else {
return IPluginInstaller::RESULT_FAILED;