mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibCore: Remove SessionManagement utilities
We don't need these, they are only relevant for SerenityOS system builds of LibCore.
This commit is contained in:
parent
1549d393b9
commit
0075048206
Notes:
github-actions[bot]
2024-11-26 10:01:50 +00:00
Author: https://github.com/ADKaster
Commit: 0075048206
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2582
10 changed files with 1 additions and 96 deletions
|
@ -18,7 +18,6 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#if !defined(AK_OS_WINDOWS)
|
||||
# include <LibCore/SessionManagement.h>
|
||||
# include <pwd.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
@ -202,10 +201,7 @@ ErrorOr<ByteString> StandardPaths::runtime_directory()
|
|||
|
||||
StringBuilder builder;
|
||||
|
||||
#if defined(AK_OS_SERENITY)
|
||||
auto sid = TRY(Core::SessionManagement::root_session_id());
|
||||
builder.appendff("/tmp/session/{}", sid);
|
||||
#elif defined(AK_OS_MACOS)
|
||||
#if defined(AK_OS_MACOS)
|
||||
builder.append(home_directory());
|
||||
builder.append("/Library/Application Support"sv);
|
||||
#elif defined(AK_OS_HAIKU)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue