FortFirewall.exe.ini: Warn about env vars for service and client

This commit is contained in:
Nodir Temirkhodjaev 2024-08-19 18:19:16 +05:00
parent 8b73c25eb0
commit 5062bb0241
2 changed files with 4 additions and 2 deletions

View File

@ -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 "<cacheDir>".
;updateDir=%TEMP%/Fort Firewall
;updateDir=%SystemRoot%/Temp/Fort Firewall
;Force debug output.
;forceDebug=true

View File

@ -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);
}