mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
Browser: Implement the <input type=file> UI
This commit is contained in:
parent
108521a566
commit
ab4d4f0711
2 changed files with 25 additions and 1 deletions
|
@ -107,7 +107,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto app = TRY(GUI::Application::create(arguments));
|
||||
auto const man_file = "/usr/share/man/man1/Applications/Browser.md"sv;
|
||||
|
||||
Config::pledge_domain("Browser");
|
||||
Config::pledge_domains({ "Browser", "FileManager" });
|
||||
Config::monitor_domain("Browser");
|
||||
|
||||
// Connect to LaunchServer immediately and let it know that we won't ask for anything other than opening
|
||||
|
@ -126,8 +126,10 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
TRY(Core::System::unveil("/tmp/session/%sid/portal/sql", "rw"));
|
||||
TRY(Core::System::unveil("/home", "rwc"));
|
||||
TRY(Core::System::unveil("/res", "r"));
|
||||
TRY(Core::System::unveil("/etc/group", "r"));
|
||||
TRY(Core::System::unveil("/etc/passwd", "r"));
|
||||
TRY(Core::System::unveil("/etc/timezone", "r"));
|
||||
TRY(Core::System::unveil("/etc/FileIconProvider.ini", "r"));
|
||||
TRY(Core::System::unveil("/bin/BrowserSettings", "x"));
|
||||
TRY(Core::System::unveil("/bin/Browser", "x"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue