aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjenkins4kodi <jenkins4kodi@users.noreply.github.com>2016-12-18 13:02:56 +0100
committerGitHub <noreply@github.com>2016-12-18 13:02:56 +0100
commitb946913f72132ae163ca6a769d5d65f6a9235af6 (patch)
tree360ff33de3118b2ad5b3bdb2b23fff924e22ed77
parent9c5de8e6c8a6ae68401923b44f9baa29fbdbaa68 (diff)
parent73750541a8ffd8cfbca80f24535c41e66166f0c9 (diff)
Merge pull request #11208 from MartijnKaijser/11120
-rw-r--r--xbmc/Application.cpp1
-rw-r--r--xbmc/addons/FilesystemInstaller.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
index 2dbe4c1728..f2a8d41406 100644
--- a/xbmc/Application.cpp
+++ b/xbmc/Application.cpp
@@ -1060,6 +1060,7 @@ void CApplication::CreateUserDirs() const
CDirectory::Create("special://home/");
CDirectory::Create("special://home/addons");
CDirectory::Create("special://home/addons/packages");
+ CDirectory::Create("special://home/addons/temp");
CDirectory::Create("special://home/media");
CDirectory::Create("special://home/system");
CDirectory::Create("special://masterprofile/");
diff --git a/xbmc/addons/FilesystemInstaller.cpp b/xbmc/addons/FilesystemInstaller.cpp
index 3483727b99..bd4a93171d 100644
--- a/xbmc/addons/FilesystemInstaller.cpp
+++ b/xbmc/addons/FilesystemInstaller.cpp
@@ -31,7 +31,7 @@ using namespace XFILE;
CFilesystemInstaller::CFilesystemInstaller()
{
m_addonFolder = CSpecialProtocol::TranslatePath("special://home/addons/");
- m_tempFolder = CSpecialProtocol::TranslatePath("special://home/temp/");
+ m_tempFolder = CSpecialProtocol::TranslatePath("special://home/addons/temp/");
}
bool CFilesystemInstaller::InstallToFilesystem(const std::string& archive, const std::string& addonId)