diff --git a/Applications/Help/main.cpp b/Applications/Help/main.cpp index abfdf13489..6debcc75d6 100644 --- a/Applications/Help/main.cpp +++ b/Applications/Help/main.cpp @@ -62,6 +62,18 @@ int main(int argc, char* argv[]) return 1; } + if (unveil("/res", "r") < 0) { + perror("unveil"); + return 1; + } + + if (unveil("/usr/share/man", "r") < 0) { + perror("unveil"); + return 1; + } + + unveil(nullptr, nullptr); + auto window = GWindow::construct(); window->set_title("Help"); window->set_rect(300, 200, 570, 500);