Skip to content

Commit

Permalink
feat: add force upload arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Dofes committed Jan 17, 2025
1 parent 96897da commit 57435e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ll/core/CrashLogger_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,15 @@ void CrashLogger::init() {
sa.nLength = sizeof(SECURITY_ATTRIBUTES);

std::wstring cmd = string_utils::str2wstr(fmt::format(
R"({} -p {} -b "{}" --lv "{}" --isdev {} --username "{}" --moddir "{}" --enablesentry true)",
R"({} -p {} -b "{}" --lv "{}" --isdev {} --username "{}" --moddir "{}" --enablesentry true --foreuploadmods "{}")",
getSelfModIns()->getModDir() / sv2u8sv(config.modules.crashLogger.externalpath.value_or("CrashLogger.exe")),
GetCurrentProcessId(),
ll::getGameVersion().to_string(),
ll::getLoaderVersion().to_string(),
ll::getLoaderVersion().to_string().find('+') != std::string::npos,
getServiceUuid(),
mod::getModsRoot()
mod::getModsRoot(),
"LeviLamina.dll"
));

if (!CreateProcess(nullptr, cmd.data(), &sa, &sa, true, 0, nullptr, nullptr, &si, &pi)) {
Expand Down

0 comments on commit 57435e8

Please sign in to comment.