1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 13:27:34 +00:00

Welcome: Move tips.txt to /usr/share/Welcome because it's system wide

This commit is contained in:
Bastiaan van der Plaat 2024-01-29 19:18:19 +01:00 committed by Jelle Raaijmakers
parent 813c66403d
commit f4d5ff9ed9
3 changed files with 7 additions and 4 deletions

View file

@ -23,6 +23,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil("/home", "r"));
TRY(Core::System::unveil("/usr/share/Welcome", "r"));
TRY(Core::System::unveil("/bin/Help", "x"));
TRY(Core::System::unveil(nullptr, nullptr));
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-welcome"sv));