From 8f3ac7f97536fc7d31f65df40fae96f05c0d5229 Mon Sep 17 00:00:00 2001 From: Bush2021 <79072750+Bush2021@users.noreply.github.com> Date: Wed, 15 May 2024 22:12:08 -0400 Subject: [PATCH] fix: disable `WinSboxNoFakeGdiInit` using command line (#76) --- src/portable.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/portable.h b/src/portable.h index 8d605b7..6d0ebbc 100644 --- a/src/portable.h +++ b/src/portable.h @@ -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);