1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:58:12 +00:00

Base: Launch InspectorServer at session start-up

This commit is contained in:
Lucas CHOLLET 2022-07-24 15:32:41 +02:00 committed by Linus Groh
parent b01822bdd4
commit c248569d6b
5 changed files with 9 additions and 10 deletions

View file

@ -359,7 +359,7 @@ EventLoop::~EventLoop()
bool connect_to_inspector_server()
{
#ifdef __serenity__
auto maybe_socket = Core::Stream::LocalSocket::connect("/tmp/portal/inspectables");
auto maybe_socket = Core::Stream::LocalSocket::connect("/tmp/user/%uid/portal/inspectables");
if (maybe_socket.is_error()) {
dbgln("connect_to_inspector_server: Failed to connect: {}", maybe_socket.error());
return false;