Migrate Alloy to Chrome-runtime without Google UI?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Migrate Alloy to Chrome-runtime without Google UI?

Postby TaurusPrime » Tue Jul 23, 2024 3:08 am

Hi,

Log showed me a deprecated warning: https://github.com/chromiumembedded/cef/issues/3685

So i try to migrate to Chrome-runtime.

Using cefsimple version 126, i successfully used --enable-chrome-runtime --use-views

But:
- still have F12 Inspector
- Download-Manager
- opens a full chrome UI if exe opened twice
- the %localAppData%\CEF\User Data\ is bombed with files (Alloy minimize this with settings.cache_path = "")

I am using HANDLE hMutex to block a second exe run as a workaround.

How can i get rid of this Chrome User Interface?

I think, people using CEF don't like to have a Google Chrome UI, otherwise they would use Google Chrome. 8-)
Win 10 x64, Latest CMake + Visual Studio 2022 C++, modding cefsimple, using latest cef x64 Release
TaurusPrime
Techie
 
Posts: 31
Joined: Mon Jul 11, 2022 8:00 am

Re: Migrate Alloy to Chrome-runtime without Google UI?

Postby magreenblatt » Tue Jul 23, 2024 8:24 am

Most of this behavior can be customized with Chrome style. Or just use Alloy style as described in the issue.
magreenblatt
Site Admin
 
Posts: 12741
Joined: Fri May 29, 2009 6:57 pm

Re: Migrate Alloy to Chrome-runtime without Google UI?

Postby TaurusPrime » Tue Jul 23, 2024 9:33 am

You mean command_line->AppendSwitch()? Or is there a other way for styling?

Alloy will end with M128 or do i missed something?
Win 10 x64, Latest CMake + Visual Studio 2022 C++, modding cefsimple, using latest cef x64 Release
TaurusPrime
Techie
 
Posts: 31
Joined: Mon Jul 11, 2022 8:00 am

Re: Migrate Alloy to Chrome-runtime without Google UI?

Postby magreenblatt » Tue Jul 23, 2024 9:45 am

Closely read the issue that you linked.
magreenblatt
Site Admin
 
Posts: 12741
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 14 guests