|
@@ -67,7 +67,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|
|
TRY(Core::System::pledge("stdio thread recvfd sendfd cpath rpath wpath unix"));
|
|
|
auto app = TRY(GUI::Application::try_create(arguments));
|
|
|
|
|
|
- TRY(Desktop::Launcher::add_allowed_handler_with_only_specific_urls("/bin/Help", { URL::create_with_file_protocol("/usr/share/man/man1/Playground.md") }));
|
|
|
+ TRY(Desktop::Launcher::add_allowed_handler_with_only_specific_urls("/bin/Help", { URL::create_with_file_protocol("/usr/share/man/man1/GMLPlayground.md") }));
|
|
|
TRY(Desktop::Launcher::seal_allowlist());
|
|
|
|
|
|
TRY(Core::System::pledge("stdio thread recvfd sendfd rpath cpath wpath"));
|
|
@@ -77,7 +77,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|
|
args_parser.add_positional_argument(path, "GML file to edit", "file", Core::ArgsParser::Required::No);
|
|
|
args_parser.parse(arguments);
|
|
|
|
|
|
- auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-playground"));
|
|
|
+ auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-gml-playground"));
|
|
|
auto window = TRY(GUI::Window::try_create());
|
|
|
window->set_title("GML Playground");
|
|
|
window->set_icon(app_icon.bitmap_for_size(16));
|
|
@@ -248,7 +248,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|
|
|
|
|
auto help_menu = TRY(window->try_add_menu("&Help"));
|
|
|
TRY(help_menu->try_add_action(GUI::CommonActions::make_help_action([](auto&) {
|
|
|
- Desktop::Launcher::open(URL::create_with_file_protocol("/usr/share/man/man1/Playground.md"), "/bin/Help");
|
|
|
+ Desktop::Launcher::open(URL::create_with_file_protocol("/usr/share/man/man1/GMLPlayground.md"), "/bin/Help");
|
|
|
})));
|
|
|
TRY(help_menu->try_add_action(GUI::CommonActions::make_about_action("GML Playground", app_icon, window)));
|
|
|
|