1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:07:35 +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:
Andrew Kaster 2023-08-02 17:21:17 -06:00 committed by Andreas Kling
parent bb831a27dd
commit a1e5a6ac40
6 changed files with 17 additions and 29 deletions

View file

@ -21,4 +21,4 @@ ErrorOr<NonnullRefPtr<WebView::WebContentClient>> launch_web_content_process(Web
WebView::UseJavaScriptBytecode,
Ladybird::UseLagomNetworking);
ErrorOr<NonnullRefPtr<Protocol::RequestClient>> launch_request_server_process(ReadonlySpan<String> candidate_request_server_paths);
ErrorOr<NonnullRefPtr<Protocol::RequestClient>> launch_request_server_process(ReadonlySpan<String> candidate_request_server_paths, StringView serenity_resource_root);