- Code: Select all
CefRefPtr<CefFrame> frame = GetBrowser()->GetMainFrame();
frame->ExecuteJavaScript("OnStartupSequenceFinished();", frame->GetURL(), 0);
That executes whenever the startup sequence has finished so it can go from a loading screen to the actual content. This includes login the user if they remembered their account and also reading the config file for users' preferred languages and so on.
The problem with react is index.html doesn't actually have anything useful and the way things are injected, as far as I understand, is not too reliable.
So how do I go about doing this.