diff --git a/core/src/browser/browser.cc b/core/src/browser/browser.cc index a5d74d4..d809da7 100644 --- a/core/src/browser/browser.cc +++ b/core/src/browser/browser.cc @@ -219,9 +219,6 @@ static void CEF_CALLBACK Hooked_OnBeforeCommandLineProcessing( CefScopedStr rc_token{ command_line->get_switch_value(command_line, &"riotclient-auth-token"_s) }; SetRiotClientCredentials(rc_port.cstr(), rc_token.cstr()); - // Keep Riot's command lines. - Old_OnBeforeCommandLineProcessing(self, process_type, command_line); - // Extract args string. auto args = CefScopedStr{ command_line->get_command_line_string(command_line) }.cstr(); @@ -240,6 +237,8 @@ static void CEF_CALLBACK Hooked_OnBeforeCommandLineProcessing( command_line->reset(command_line); command_line->init_from_string(command_line, &CefStr(args)); + Old_OnBeforeCommandLineProcessing(self, process_type, command_line); + auto sPort = config::getConfigValue(L"RemoteDebuggingPort"); REMOTE_DEBUGGING_PORT = wcstol(sPort.c_str(), NULL, 10); if (REMOTE_DEBUGGING_PORT != 0) { diff --git a/loader/Version.cs b/loader/Version.cs index 47cda92..82be02c 100644 --- a/loader/Version.cs +++ b/loader/Version.cs @@ -5,10 +5,10 @@ static class Version { public const string VERSION = #endif - "1.0.2" + "1.0.3" #if !__cplusplus ; - public const int BUILD_NUMBER = 1000; + public const int BUILD_NUMBER = 1449; } } #endif \ No newline at end of file