Changed path to logfile in debug mode.

This commit is contained in:
2025-05-03 17:09:31 +03:00
parent 822f0dc7b7
commit 386f2df1da
2 changed files with 3 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ void CLogger::Init() {
if (std::filesystem::exists(log_path)) std::filesystem::rename(log_path, bak_path);
#ifdef _DEBUG
log_path = L"D:\\test.log";
log_path = L"test.log";
#endif
fsLogFile.open(log_path, std::ios::trunc);
if (fsLogFile.is_open()) {

View File

@@ -5,6 +5,8 @@
// TODO: Make the automatic updater (download, unzip and replace executable).
// TODO: Change keyboard low-level hook to RegisterHotKey function. (Is it really needed?)
#pragma warning( disable : 28251 )
#include "framework.h"
#include "wCenterWindow.h"
#include "updater.h"