mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Synchronize DalamudStartInfo between cpp and cs (#1679)
Dalamud Boot was using BootLogPath in place of LogPath, resulting in wrong log path.
This commit is contained in:
parent
db17a86587
commit
94cf1c82c4
6 changed files with 16 additions and 6 deletions
|
|
@ -896,7 +896,6 @@ int main() {
|
|||
SYSTEMTIME st;
|
||||
GetLocalTime(&st);
|
||||
const auto dalamudLogPath = logDir.empty() ? std::filesystem::path() : logDir / L"Dalamud.log";
|
||||
const auto dalamudBootLogPath = logDir.empty() ? std::filesystem::path() : logDir / L"Dalamud.boot.log";
|
||||
const auto dumpPath = logDir.empty() ? std::filesystem::path() : logDir / std::format(L"dalamud_appcrash_{:04}{:02}{:02}_{:02}{:02}{:02}_{:03}_{}.dmp", st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond, st.wMilliseconds, dwProcessId);
|
||||
const auto logPath = logDir.empty() ? std::filesystem::path() : logDir / std::format(L"dalamud_appcrash_{:04}{:02}{:02}_{:02}{:02}{:02}_{:03}_{}.log", st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond, st.wMilliseconds, dwProcessId);
|
||||
std::wstring dumpError;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue