Skip to content

Commit

Permalink
fix: disable WinSboxNoFakeGdiInit using command line (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bush2021 committed May 16, 2024
1 parent 434d109 commit 8f3ac7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/portable.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ std::wstring GetCommand(LPWSTR param) {
if (i == insert_pos) {
args.push_back(L"--portable");

args.push_back(L"--disable-features=WinSboxNoFakeGdiInit");

{
auto userdata = GetUserDataDir();
args.push_back(L"--user-data-dir=" + userdata);
Expand Down

0 comments on commit 8f3ac7f

Please sign in to comment.