1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

Base: Launch AudioServer at session start-up

This commit is contained in:
Lucas CHOLLET 2022-07-24 15:56:44 +02:00 committed by Linus Groh
parent c248569d6b
commit 4f87f03bd1
6 changed files with 24 additions and 15 deletions

View file

@ -241,7 +241,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app = TRY(GUI::Application::try_create(arguments));
Config::pledge_domain("AudioApplet");
TRY(Core::System::unveil("/tmp/portal/audio", "rw"));
TRY(Core::System::unveil("/tmp/user/%uid/portal/audio", "rw"));
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil(nullptr, nullptr));