mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
fix: Debug builds on Windows. (#20117)
This commit is contained in:
committed by
Samuel Attard
parent
196fceabdb
commit
93da8e2b3d
@@ -149,7 +149,7 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {
|
||||
base::FilePath log_filename;
|
||||
base::PathService::Get(base::DIR_EXE, &log_filename);
|
||||
log_filename = log_filename.AppendASCII("debug.log");
|
||||
settings.log_file = log_filename.value().c_str();
|
||||
settings.log_file_path = log_filename.value().c_str();
|
||||
settings.lock_log = logging::LOCK_LOG_FILE;
|
||||
settings.delete_old = logging::DELETE_OLD_LOG_FILE;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user