From bb8300ea9c6c641bff34e491a628df269f401790 Mon Sep 17 00:00:00 2001 From: jmarshallnz Date: Sat, 17 May 2014 09:15:57 +1200 Subject: [PATCH] Merge pull request #4645 from jmarshallnz/install_from_zip_not_packages [addons] install from zip should install from the zip, not from packages --- xbmc/addons/AddonInstaller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/addons/AddonInstaller.cpp b/xbmc/addons/AddonInstaller.cpp index c100089..4598615 100644 --- a/xbmc/addons/AddonInstaller.cpp +++ b/xbmc/addons/AddonInstaller.cpp @@ -289,7 +289,7 @@ bool CAddonInstaller::InstallFromZip(const CStdString &path) if (xml.LoadFile(archive) && CAddonMgr::Get().LoadAddonDescriptionFromMemory(xml.RootElement(), addon)) { // set the correct path - addon->Props().path = path; + addon->Props().path = items[0]->GetPath(); // install the addon return DoInstall(addon); -- 2.7.4