From 2c55f4fe069e6a03ade57863c0880c226ac30f16 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sat, 19 Jul 2025 10:05:00 -0400 Subject: [PATCH] refactor: windows write daemon log in ProgramData\Deskflow remove old log file on update --- deploy/windows/wix-patch.xml.in | 1 + src/lib/common/Settings.cpp | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/deploy/windows/wix-patch.xml.in b/deploy/windows/wix-patch.xml.in index fdc1ddfb0..e95865bd6 100644 --- a/deploy/windows/wix-patch.xml.in +++ b/deploy/windows/wix-patch.xml.in @@ -17,6 +17,7 @@ /> + diff --git a/src/lib/common/Settings.cpp b/src/lib/common/Settings.cpp index ff216bd3a..ee9ffc94e 100644 --- a/src/lib/common/Settings.cpp +++ b/src/lib/common/Settings.cpp @@ -129,11 +129,7 @@ QVariant Settings::defaultValue(const QString &key) } if (key == Daemon::LogFile) { -#ifdef Q_OS_WIN - return QStringLiteral("%1/%2").arg(QCoreApplication::applicationDirPath(), kDaemonLogFilename); -#else return QStringLiteral("%1/%2").arg(Settings::settingsPath(), kDaemonLogFilename); -#endif } return QVariant();