mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-01-22 23:41:10 +00:00
Remove logging spam
This commit is contained in:
parent
4f00c51c8f
commit
f4199ed706
3 changed files with 0 additions and 7 deletions
|
@ -70,7 +70,6 @@ void UpdateInstaller::run() throw ()
|
||||||
|
|
||||||
if (m_mode == Setup)
|
if (m_mode == Setup)
|
||||||
{
|
{
|
||||||
LOG(Info,"Preparing update installation");
|
|
||||||
LOG(Info,"Waiting for main app process to finish");
|
LOG(Info,"Waiting for main app process to finish");
|
||||||
ProcessUtils::waitForProcess(m_waitPid);
|
ProcessUtils::waitForProcess(m_waitPid);
|
||||||
|
|
||||||
|
@ -309,7 +308,6 @@ void UpdateInstaller::setObserver(UpdateObserver* observer)
|
||||||
|
|
||||||
void UpdateInstaller::restartMainApp()
|
void UpdateInstaller::restartMainApp()
|
||||||
{
|
{
|
||||||
LOG(Info,"restarting main app");
|
|
||||||
std::string command;
|
std::string command;
|
||||||
std::list<std::string> args;
|
std::list<std::string> args;
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,6 @@ void UpdateScript::parseUpdate(const TiXmlElement* updateNode)
|
||||||
m_dependencies.push_back(std::string(depFileNode->GetText()));
|
m_dependencies.push_back(std::string(depFileNode->GetText()));
|
||||||
depFileNode = depFileNode->NextSiblingElement("file");
|
depFileNode = depFileNode->NextSiblingElement("file");
|
||||||
}
|
}
|
||||||
LOG(Info,"Dependency count " + intToStr(m_dependencies.size()));
|
|
||||||
|
|
||||||
const TiXmlElement* installNode = updateNode->FirstChildElement("install");
|
const TiXmlElement* installNode = updateNode->FirstChildElement("install");
|
||||||
if (installNode)
|
if (installNode)
|
||||||
|
@ -58,7 +57,6 @@ void UpdateScript::parseUpdate(const TiXmlElement* updateNode)
|
||||||
m_filesToInstall.push_back(parseFile(installFileNode));
|
m_filesToInstall.push_back(parseFile(installFileNode));
|
||||||
installFileNode = installFileNode->NextSiblingElement("file");
|
installFileNode = installFileNode->NextSiblingElement("file");
|
||||||
}
|
}
|
||||||
LOG(Info,"Files to install count " + intToStr(m_filesToInstall.size()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const TiXmlElement* uninstallNode = updateNode->FirstChildElement("uninstall");
|
const TiXmlElement* uninstallNode = updateNode->FirstChildElement("uninstall");
|
||||||
|
@ -70,7 +68,6 @@ void UpdateScript::parseUpdate(const TiXmlElement* updateNode)
|
||||||
m_filesToUninstall.push_back(uninstallFileNode->GetText());
|
m_filesToUninstall.push_back(uninstallFileNode->GetText());
|
||||||
uninstallFileNode = uninstallFileNode->NextSiblingElement("file");
|
uninstallFileNode = uninstallFileNode->NextSiblingElement("file");
|
||||||
}
|
}
|
||||||
LOG(Info,"Files to uninstall count " + intToStr(m_filesToUninstall.size()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const TiXmlElement* packagesNode = updateNode->FirstChildElement("packages");
|
const TiXmlElement* packagesNode = updateNode->FirstChildElement("packages");
|
||||||
|
@ -82,7 +79,6 @@ void UpdateScript::parseUpdate(const TiXmlElement* updateNode)
|
||||||
m_packages.push_back(parsePackage(packageNode));
|
m_packages.push_back(parsePackage(packageNode));
|
||||||
packageNode = packageNode->NextSiblingElement("package");
|
packageNode = packageNode->NextSiblingElement("package");
|
||||||
}
|
}
|
||||||
LOG(Info,"Package count " + intToStr(m_packages.size()));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,6 @@ int main(int argc, char** argv)
|
||||||
void runWithUi(int argc, char** argv, UpdateInstaller* installer)
|
void runWithUi(int argc, char** argv, UpdateInstaller* installer)
|
||||||
{
|
{
|
||||||
#ifdef ENABLE_GTK
|
#ifdef ENABLE_GTK
|
||||||
LOG(Info,"setting up GTK UI");
|
|
||||||
UpdateDialogGtk dialog;
|
UpdateDialogGtk dialog;
|
||||||
installer->setObserver(&dialog);
|
installer->setObserver(&dialog);
|
||||||
dialog.init(argc,argv);
|
dialog.init(argc,argv);
|
||||||
|
|
Loading…
Reference in a new issue