summaryrefslogtreecommitdiff
path: root/Userland/DevTools/GMLPlayground
diff options
context:
space:
mode:
authorTim Ledbetter <timledbetter@gmail.com>2023-04-08 10:48:22 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-04-25 02:16:48 -0600
commit05c8aa71f25c3d58f0037db04216a24e86b13903 (patch)
tree7fd655d2ba935d4f66ce12e339a4fbf3b5f8432d /Userland/DevTools/GMLPlayground
parent9d30eb4b34ddbd17d666a9ac50e654e484125970 (diff)
downloadserenity-05c8aa71f25c3d58f0037db04216a24e86b13903.zip
Applications: Update man page links for applications
This commit updates all application man page links to point to the Applications subdirectory.
Diffstat (limited to 'Userland/DevTools/GMLPlayground')
-rw-r--r--Userland/DevTools/GMLPlayground/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/GMLPlayground/main.cpp b/Userland/DevTools/GMLPlayground/main.cpp
index d174bcbf87..03823997dd 100644
--- a/Userland/DevTools/GMLPlayground/main.cpp
+++ b/Userland/DevTools/GMLPlayground/main.cpp
@@ -76,7 +76,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));
TRY(Core::System::unveil(nullptr, nullptr));
- TRY(Desktop::Launcher::add_allowed_handler_with_only_specific_urls("/bin/Help", { URL::create_with_file_scheme("/usr/share/man/man1/GMLPlayground.md") }));
+ TRY(Desktop::Launcher::add_allowed_handler_with_only_specific_urls("/bin/Help", { URL::create_with_file_scheme("/usr/share/man/man1/Applications/GMLPlayground.md") }));
TRY(Desktop::Launcher::seal_allowlist());
StringView path;
@@ -288,7 +288,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto help_menu = TRY(window->try_add_menu("&Help"_short_string));
TRY(help_menu->try_add_action(GUI::CommonActions::make_command_palette_action(window)));
TRY(help_menu->try_add_action(GUI::CommonActions::make_help_action([](auto&) {
- Desktop::Launcher::open(URL::create_with_file_scheme("/usr/share/man/man1/GMLPlayground.md"), "/bin/Help");
+ Desktop::Launcher::open(URL::create_with_file_scheme("/usr/share/man/man1/Applications/GMLPlayground.md"), "/bin/Help");
})));
TRY(help_menu->try_add_action(GUI::CommonActions::make_about_action("GML Playground", app_icon, window)));