From 2aae65d6f6c1ab3309e54437a339d1644088c5c8 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 10 Jan 2016 20:19:56 +0100 Subject: made instance-switching usable this includes tons and tons of changes to how paths are determined. the profiles-dir can now also be configured --- src/selfupdater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/selfupdater.cpp') diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp index 0cfd7f08..ae75b9cb 100644 --- a/src/selfupdater.cpp +++ b/src/selfupdater.cpp @@ -65,7 +65,7 @@ SelfUpdater::SelfUpdater(NexusInterface *nexusInterface) , m_Attempts(3) , m_NexusDownload(nullptr) { - QLibrary archiveLib("dlls\\archive.dll"); + QLibrary archiveLib(QCoreApplication::applicationDirPath() + "\\dlls\\archive.dll"); if (!archiveLib.load()) { throw MyException(tr("archive.dll not loaded: \"%1\"").arg(archiveLib.errorString())); } -- cgit v1.3.1