Permalink
Browse files

Merge pull request #4645 from jmarshallnz/install_from_zip_not_packages

[addons] install from zip should install from the zip, not from packages
  • Loading branch information...
2 parents fa8ea60 + ab72974 commit 9347171520f8f73708ac2029894f34eec469008c @jmarshallnz jmarshallnz committed May 16, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 9347171

Please sign in to comment.