diff --git a/deploy/data/FortFirewall.exe.example.ini b/deploy/data/FortFirewall.exe.example.ini index 96a8d2fc..63271e92 100644 --- a/deploy/data/FortFirewall.exe.example.ini +++ b/deploy/data/FortFirewall.exe.example.ini @@ -4,6 +4,7 @@ ;Fort Firewall global configuration ;ATTENTION: Use slashes as path separator (C:/path/to/directory/)!!! +; Environment variables (e.g. %TEMP%) are different for Service and UI processes! [global] @@ -43,7 +44,7 @@ ;Directory to store Fort Firewall's update. ;Default is "". -;updateDir=%TEMP%/Fort Firewall +;updateDir=%SystemRoot%/Temp/Fort Firewall ;Force debug output. ;forceDebug=true diff --git a/src/ui/manager/autoupdatemanager.cpp b/src/ui/manager/autoupdatemanager.cpp index 4b44be99..81e0e48b 100644 --- a/src/ui/manager/autoupdatemanager.cpp +++ b/src/ui/manager/autoupdatemanager.cpp @@ -150,7 +150,8 @@ void AutoUpdateManager::setupByTaskInfo(TaskInfoUpdateChecker *taskInfo) const QFileInfo fi(installerPath()); const bool downloaded = (fi.exists() && fi.size() == m_downloadSize); - qCDebug(LC) << "Check:" << taskInfo->version() << "downloaded:" << downloaded; + qCDebug(LC) << "Check:" << taskInfo->version() << "downloaded:" << downloaded + << "path:" << fi.filePath(); setIsDownloaded(downloaded); }