Changed path to logfile in debug mode.
This commit is contained in:
@@ -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()) {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user