diff --git a/Userland/Applications/3DFileViewer/main.cpp b/Userland/Applications/3DFileViewer/main.cpp index eca71032eb..b06bb91b8c 100644 --- a/Userland/Applications/3DFileViewer/main.cpp +++ b/Userland/Applications/3DFileViewer/main.cpp @@ -124,26 +124,11 @@ int main(int argc, char** argv) { auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) { + if (pledge("stdio thread recvfd sendfd rpath", nullptr) < 0) { perror("pledge"); return 1; } - if (unveil("/res", "r") < 0) { - perror("unveil"); - return 1; - } - - if (unveil("/home", "r") < 0) { - perror("unveil"); - return 1; - } - - if (unveil(nullptr, nullptr) < 0) { - perror("unveil"); - return 1; - } - // Construct the main window auto window = GUI::Window::construct(); auto app_icon = GUI::Icon::default_icon("app-3d-file-viewer");