changed skin installation that VDR main loop is not blocked

This commit is contained in:
louis
2015-06-04 10:57:25 +02:00
parent d2947bfcfd
commit 664b71daee
7 changed files with 247 additions and 143 deletions

View File

@@ -32,7 +32,7 @@ void cSkinRepo::Install(string path, string themesPath) {
this->themesPath = themesPath;
if (repoType == rtGit) {
command = *cString::sprintf("git clone --progress %s %s", url.c_str(), skinPath.c_str());
command = *cString::sprintf("git clone --depth=1 --progress %s %s", url.c_str(), skinPath.c_str());
tempfile = *cString::sprintf("gitclone_%s_%ld.out", name.c_str(), time(0));
dsyslog("skindesigner: installing skin from Git, command: %s, logfile: %s", command.c_str(), tempfile.c_str());