mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibSQL+Ladybird: Accept a list of paths for spawning SQLServer in Lagom
Use the new get_paths_for_helper_process method in Ladybird to query Qt for the runtime path of the current executable as well as the build directory paths.
This commit is contained in:
parent
3e6d790cf0
commit
ae9dc95b1f
Notes:
sideshowbarker
2024-07-17 00:54:48 +09:00
Author: https://github.com/ADKaster
Commit: ae9dc95b1f
Pull-request: https://github.com/SerenityOS/serenity/pull/17272
Issue: https://github.com/SerenityOS/serenity/issues/17062
Reviewed-by: https://github.com/trflynn89 ✅
4 changed files with 23 additions and 15 deletions
|
@ -22,7 +22,7 @@ class SQLClient
|
|||
|
||||
public:
|
||||
#if !defined(AK_OS_SERENITY)
|
||||
static ErrorOr<NonnullRefPtr<SQLClient>> launch_server_and_create_client(StringView server_path);
|
||||
static ErrorOr<NonnullRefPtr<SQLClient>> launch_server_and_create_client(Vector<String> candidate_server_paths);
|
||||
#endif
|
||||
|
||||
virtual ~SQLClient() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue