1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Output log to /var/log/gmenu2x.log

This commit is contained in:
Paul Cercueil
2013-11-08 11:27:34 +01:00
parent 217a9b5cd6
commit 246fd8630c
3 changed files with 8 additions and 4 deletions

View File

@@ -621,10 +621,10 @@ void LinkApp::launch(const string &selectedFile) {
if (!params.empty()) command += " " + params;
#if defined(PLATFORM_A320) || defined(PLATFORM_GCW0)
if (gmenu2x->confInt["outputLogs"] && !consoleApp)
command += " &> " + cmdclean(gmenu2x->getHome()) + "/log.txt";
command += " &> " LOG_FILE;
#else
if (gmenu2x->confInt["outputLogs"])
command += " &> " + cmdclean(gmenu2x->getHome()) + "/log.txt";
command += " &> " LOG_FILE;
#endif
#ifdef HAVE_LIBOPK
if (isOPK)