diff options
Diffstat (limited to 'pkgs/applications/blockchains/monero-gui/move-log-file.patch')
-rw-r--r-- | pkgs/applications/blockchains/monero-gui/move-log-file.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/monero-gui/move-log-file.patch b/pkgs/applications/blockchains/monero-gui/move-log-file.patch new file mode 100644 index 0000000000000..e540f1960d6cd --- /dev/null +++ b/pkgs/applications/blockchains/monero-gui/move-log-file.patch @@ -0,0 +1,15 @@ +diff --git a/main.cpp b/main.cpp +index a51568d..5a9f683 100644 +--- a/main.cpp ++++ b/main.cpp +@@ -152,7 +152,9 @@ int main(int argc, char *argv[]) + QCommandLineOption logPathOption(QStringList() << "l" << "log-file", + QCoreApplication::translate("main", "Log to specified file"), + QCoreApplication::translate("main", "file")); +- ++ logPathOption.setDefaultValue( ++ QStandardPaths::writableLocation(QStandardPaths::CacheLocation) ++ + "/monero-wallet-gui.log"); + parser.addOption(logPathOption); + parser.addHelpOption(); + parser.process(app); |