mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-30 16:28:48 +00:00
LibWebView: Port to Windows
This commit is contained in:
parent
2abc792938
commit
2dd657f530
Notes:
github-actions[bot]
2025-03-20 02:26:23 +00:00
Author: https://github.com/stasoid
Commit: 2dd657f530
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3002
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
5 changed files with 33 additions and 13 deletions
|
@ -104,7 +104,7 @@ ErrorOr<Vector<ByteString>> get_paths_for_helper_process(StringView process_name
|
|||
auto application_path = TRY(application_directory());
|
||||
Vector<ByteString> paths;
|
||||
|
||||
#if !defined(AK_OS_MACOS)
|
||||
#if !defined(AK_OS_MACOS) && !defined(AK_OS_WINDOWS)
|
||||
auto prefix = find_prefix(LexicalPath(application_path));
|
||||
TRY(paths.try_append(LexicalPath::join(prefix.string(), libexec_path, process_name).string()));
|
||||
TRY(paths.try_append(LexicalPath::join(prefix.string(), "bin"sv, process_name).string()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue