Skip to content

Commit

Permalink
Correction information
Browse files Browse the repository at this point in the history
  • Loading branch information
mpamxl committed Oct 15, 2023
1 parent 8488a19 commit 7f25dbb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/PakPatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ HANDLE WINAPI MyMapViewOfFile(
ReplaceStringInPlace(html, R"(hidden="[[!shouldShowIcons_(showUpdateStatus_)]]")", R"(hidden="true")");
}

const char prouct_title[] = u8R"({aboutBrowserVersion}</div><div class="secondary"><a target="_blank" href="https://github.com/shuax/chrome_plus">Chrome++</a> )" RELEASE_VER_STR u8R"( inside</div>)";
ReplaceStringInPlace(html, R"({aboutBrowserVersion}</div>)", prouct_title);
// const char prouct_title[] = u8R"({aboutBrowserVersion}</div><div class="secondary"><a target="_blank" href="https://github.com/mpamxl/ChromeX">Chrome++</a> )" RELEASE_VER_STR u8R"( inside</div>)";
// ReplaceStringInPlace(html, R"({aboutBrowserVersion}</div>)", prouct_title);

if (html.length() <= size)
{
Expand Down
4 changes: 2 additions & 2 deletions src/chrome++.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void ChromePlus()

void ChromePlusCommand(LPWSTR param)
{
if (!wcsstr(param, L"--shuax"))
if (!wcsstr(param, L"--Portable"))
{
Portable(param);
}
Expand Down Expand Up @@ -86,7 +86,7 @@ void InstallLoader()
#define EXTERNC extern "C"

//
EXTERNC __declspec(dllexport) void shuax()
EXTERNC __declspec(dllexport) void Portable()
{
}

Expand Down
Binary file modified src/chrome++.rc
Binary file not shown.
4 changes: 2 additions & 2 deletions src/portable.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ std::wstring GetCommand(LPWSTR param)
// 追加参数
if (i == insert_pos)
{
args.push_back(L"--shuax");
args.push_back(L"--Portable");

// args.push_back(L"--force-local-ntp");
// args.push_back(L"--disable-background-networking");
args.push_back(L"--disable-background-networking");

args.push_back(L"--disable-features=RendererCodeIntegrity,FlashDeprecationWarning");

Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ target("minhook")
add_files("minhook/src/**.c")
add_includedirs("minhook/include", {public=true})

target("chrome_plus")
target("ChromeX")
set_kind("shared")
set_targetdir("$(buildir)/release")
set_basename("version")
Expand Down

0 comments on commit 7f25dbb

Please sign in to comment.