|
@@ -450,7 +450,7 @@ namespace Chromium {
|
|
|
strCmdLine.Append(" --enable-media-stream=1 --enable-speech-input=1");
|
|
|
if (g_withConsole)
|
|
|
strCmdLine.Append(" --with-console");
|
|
|
- strCmdLine.Append(" --no-sandbox --single-process");
|
|
|
+ strCmdLine.Append(" --no-sandbox");
|
|
|
strCmdLine.Append(" --hide-controls");
|
|
|
strCmdLine.Append(" --hide-tabs");
|
|
|
strCmdLine.Append(" --logextend=").Append((+PAGE_TYPE::Ad)._to_string());
|
|
@@ -476,7 +476,7 @@ namespace Chromium {
|
|
|
.Append(isExtend ? (+ERR_PAGE_REASON::extend)._to_string() : (+ERR_PAGE_REASON::main)._to_string());
|
|
|
//strCmdLine.Append(" --hide-controls=true")
|
|
|
strCmdLine.Append(" --cache-path=").Append(cachePath);
|
|
|
- strCmdLine.Append(" --no-sandbox --single-process");
|
|
|
+ strCmdLine.Append(" --no-sandbox");
|
|
|
strCmdLine.Append(" --hide-controls");
|
|
|
if (g_useMagic)
|
|
|
strCmdLine.Append(" --magic-str=").Append(m_magicStr.c_str());
|
|
@@ -518,7 +518,7 @@ namespace Chromium {
|
|
|
this->m_pEntity->GetFunction()->GetPath("Temp", cachePath);
|
|
|
cachePath.Append(CSimpleStringA(SPLIT_SLASH_STR)).Append("cefCache_").Append(m_strCacheHead.length() > 0 ? m_strCacheHead.c_str() : "").Append((+ERR_PAGE_REASON::Ad)._to_string());
|
|
|
strCmdLine.Append(" --cache-path=").Append(cachePath);
|
|
|
- strCmdLine.Append(" --no-sandbox --single-process");
|
|
|
+ strCmdLine.Append(" --no-sandbox");
|
|
|
strCmdLine.Append(" --hide-controls");
|
|
|
strCmdLine.Append(" --lang=zh-CN");//install page need language chinese
|
|
|
strCmdLine.Append(" --hide-tabs");
|
|
@@ -538,7 +538,7 @@ namespace Chromium {
|
|
|
cachePath.Append(CSimpleStringA(SPLIT_SLASH_STR)).Append("cefCache_").Append(m_strCacheHead.length() > 0 ? m_strCacheHead.c_str() : "").Append(m_specialPage_temp_name.c_str());
|
|
|
//strCmdLine.Append(" --hide-controls=true")
|
|
|
strCmdLine.Append(" --cache-path=").Append(cachePath);
|
|
|
- strCmdLine.Append(" --no-sandbox --single-process");
|
|
|
+ strCmdLine.Append(" --no-sandbox");//don't use single-process, it will affect the cef log
|
|
|
strCmdLine.Append(" --hide-controls");
|
|
|
if (g_useMagic)
|
|
|
strCmdLine.Append(" --magic-str=").Append(m_magicStr.c_str());
|