summaryrefslogtreecommitdiff
path: root/Userland/Games/Minesweeper/main.cpp
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2022-07-17 15:41:01 +0200
committerLinus Groh <mail@linusgroh.de>2022-07-19 11:15:14 +0100
commit70846d701cc117176eca150c54649639ec5e8337 (patch)
treee0b2e21a4bf10a6b3cf488cfc2e294c931f4796f /Userland/Games/Minesweeper/main.cpp
parentcc0d53d6a676b04c16ad2efe6f72db087c8246c7 (diff)
downloadserenity-70846d701cc117176eca150c54649639ec5e8337.zip
LaunchServer+SystemServer: Move the portal to a user-specific directory
Various changes are needed to support this: - The directory is created by Core::Account on login (and located in /tmp). - Service's sockets are now deleted on exit (to allow re-creation) - SystemServer needs to handle SIGTERM to correctly destroy services.
Diffstat (limited to 'Userland/Games/Minesweeper/main.cpp')
-rw-r--r--Userland/Games/Minesweeper/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Minesweeper/main.cpp b/Userland/Games/Minesweeper/main.cpp
index 2423070239..883271acc4 100644
--- a/Userland/Games/Minesweeper/main.cpp
+++ b/Userland/Games/Minesweeper/main.cpp
@@ -38,7 +38,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::pledge("stdio rpath recvfd sendfd"));
TRY(Core::System::unveil("/res", "r"));
- TRY(Core::System::unveil("/tmp/portal/launch", "rw"));
+ TRY(Core::System::unveil("/tmp/100/portal/launch", "rw"));
TRY(Core::System::unveil(nullptr, nullptr));
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-minesweeper"sv));