Open yangxuilyx opened 2 weeks ago
There are some issues with that approach, which we considered in the past but abandoned, due to: 1) the BrowserProcess need to be built with the exact same version of the main app, otherwise we had issues, because of versions mismatch. 2) in mac the story is different and more complex, the folder structure is more strict, and we hard time to get it working. Btw tried your branch and doesn't even build on mac.
Maybe we can try to solve these issues:
BrowserProcess is released in Self-Containerd mode and requires .net runtime, so the package size will be very large (depends of win, linux, macos) I modified debug and publish to let BrowserProcess call the runtime of the main program,modified the package structure and placed it in runtimes\native
cef runtimes is copied to the debug directory in the demo project, but the chromiumembeddedframework.runtime.win-x64 package is copied to runtimes\native by default so modified the copy method of cef.redist to handle it in a unified way
fixed the handling of CEF locales file in demo/package on Windows platform
I published local package,passed the debug and publish tests on win-x64 and linux-x64, but I don’t have macos so there is no test.
my test project: https://github.com/yangxuilyx/Desktop.Ava