1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07: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

@ -35,7 +35,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
args_parser.parse(arguments);
TRY(Core::System::unveil(Core::File::absolute_path(path), "r"sv));
TRY(Core::System::unveil("/tmp/portal/audio", "rw"));
TRY(Core::System::unveil("/tmp/user/%uid/portal/audio", "rw"));
TRY(Core::System::unveil(nullptr, nullptr));
Core::EventLoop loop;