1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

Escalator: Port Escalator to GML Compiler

This commit is contained in:
Mr.UNIX 2024-01-09 23:07:42 +01:00 committed by Tim Schumacher
parent 7d63b8b95f
commit 9507157f04
6 changed files with 35 additions and 10 deletions

View file

@ -44,7 +44,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
}
auto current_user = TRY(Core::Account::self());
auto window = TRY(EscalatorWindow::try_create(executable_path.value(), command, EscalatorWindow::Options { description, current_user, preserve_env, forward_stdin, forward_stdout }));
auto window = TRY(Escalator::EscalatorWindow::try_create(executable_path.value(), command, Escalator::EscalatorWindow::Options { description, current_user, preserve_env, forward_stdin, forward_stdout }));
if (current_user.uid() != 0) {
window->show();