mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
Browser: Add option to open BrowserSettings from Browser :^)
This commit is contained in:
parent
1606f70f0c
commit
8aa1c7f5b0
Notes:
sideshowbarker
2024-07-17 18:34:55 +09:00
Author: https://github.com/sppmacd
Commit: 8aa1c7f5b0
Pull-request: https://github.com/SerenityOS/serenity/pull/12241
2 changed files with 11 additions and 2 deletions
|
@ -57,7 +57,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
return 1;
|
||||
}
|
||||
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd unix cpath rpath wpath"));
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd unix cpath rpath wpath proc exec"));
|
||||
|
||||
const char* specified_url = nullptr;
|
||||
|
||||
|
@ -83,6 +83,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
TRY(Core::System::unveil("/tmp/portal/image", "rw"));
|
||||
TRY(Core::System::unveil("/tmp/portal/webcontent", "rw"));
|
||||
TRY(Core::System::unveil("/tmp/portal/request", "rw"));
|
||||
TRY(Core::System::unveil("/bin/BrowserSettings", "x"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
auto app_icon = GUI::Icon::default_icon("app-browser");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue