mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:28:13 +00:00
Ladybird: Remove Qt dependency from RequestServer
This requires two parts: Core::System::current_executable_path(), and passing the serenity-resource-root as an argument to the process.
This commit is contained in:
parent
bb831a27dd
commit
a1e5a6ac40
6 changed files with 17 additions and 29 deletions
|
@ -74,7 +74,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
if (use_lagom_networking) {
|
||||
auto candidate_request_server_paths = TRY(get_paths_for_helper_process("RequestServer"sv));
|
||||
auto protocol_client = TRY(launch_request_server_process(candidate_request_server_paths));
|
||||
auto protocol_client = TRY(launch_request_server_process(candidate_request_server_paths, s_serenity_resource_root));
|
||||
Web::ResourceLoader::initialize(TRY(WebView::RequestServerAdapter::try_create(move(protocol_client))));
|
||||
} else {
|
||||
Web::ResourceLoader::initialize(Ladybird::RequestManagerQt::create());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue