diff options
author | Lucas CHOLLET <lucas.chollet@free.fr> | 2022-08-07 18:19:42 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-08-14 21:52:35 +0100 |
commit | bee5bcda7324279f17409d49aca715c518ac763e (patch) | |
tree | 23b6be21f297f61959f7d817beaec9c443610005 /Userland/Games/MasterWord/main.cpp | |
parent | 26e85dabb05099caa8bca0b5dd240b212d2356ec (diff) | |
download | serenity-bee5bcda7324279f17409d49aca715c518ac763e.zip |
Everywhere: Replace hardcoded anon's uid in unveil path with `%uid`
Diffstat (limited to 'Userland/Games/MasterWord/main.cpp')
-rw-r--r-- | Userland/Games/MasterWord/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/MasterWord/main.cpp b/Userland/Games/MasterWord/main.cpp index 3f87669ac1..a2085800e6 100644 --- a/Userland/Games/MasterWord/main.cpp +++ b/Userland/Games/MasterWord/main.cpp @@ -33,7 +33,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/user/100/portal/launch", "rw")); + TRY(Core::System::unveil("/tmp/user/%uid/portal/launch", "rw")); TRY(Core::System::unveil(nullptr, nullptr)); auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-masterword"sv)); |