3DFileViewer: Don't unveil "/home/anon/Documents/3D Models"

Usage of models is now done by `LibFileSystemAccessClient`.
This commit is contained in:
Lucas CHOLLET 2023-01-14 19:21:41 -05:00 committed by Sam Atkins
parent 851b887cd0
commit d5f7771039
Notes: sideshowbarker 2024-07-17 06:40:21 +09:00

View file

@ -353,7 +353,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::pledge("stdio thread recvfd sendfd rpath unix prot_exec"));
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));
TRY(Core::System::unveil("/home/anon/Documents/3D Models", "r"));
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil("/usr/lib", "r"));
TRY(Core::System::unveil(nullptr, nullptr));