Skip to content

Commit

Permalink
Fix launcher failing to start BCU on some systems
Browse files Browse the repository at this point in the history
Fixes #450
  • Loading branch information
Klocman committed Sep 27, 2023
1 parent ecb790d commit 83d6921
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/BCU-launcher/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ int main()
return 2;
}

// Required on some systems or CreateProcess fails
p = L"\"" + p + L"\"";

auto cl = p.c_str();
size_t pSizeTerminated = p.size() + 1;
wchar_t* cla = new wchar_t[pSizeTerminated];
Expand Down

0 comments on commit 83d6921

Please sign in to comment.