mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
Applets/Audio: Remove unveiling /tmp/portal/config
This commit is contained in:
parent
46ad5f2a17
commit
f53bc19b8a
1 changed files with 1 additions and 3 deletions
|
@ -215,13 +215,11 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
TRY(Core::System::pledge("stdio recvfd sendfd rpath wpath cpath unix", nullptr));
|
||||
|
||||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
TRY(Core::System::unveil("/tmp/portal/config", "rw"));
|
||||
Config::pledge_domains("AudioApplet");
|
||||
TRY(Core::System::unveil("/tmp/portal/audio", "rw"));
|
||||
TRY(Core::System::unveil("/res", "r"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
Config::pledge_domains("AudioApplet");
|
||||
|
||||
auto window = TRY(GUI::Window::try_create());
|
||||
window->set_has_alpha_channel(true);
|
||||
window->set_title("Audio");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue