mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 13:35:12 +00:00
Applets/Audio: Remove unveiling /tmp/portal/config
This commit is contained in:
parent
46ad5f2a17
commit
f53bc19b8a
Notes:
sideshowbarker
2024-07-18 00:42:42 +09:00
Author: https://github.com/doctor-rd Commit: https://github.com/SerenityOS/serenity/commit/f53bc19b8a4 Pull-request: https://github.com/SerenityOS/serenity/pull/10871 Reviewed-by: https://github.com/kleinesfilmroellchen ✅
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
Reference in a new issue