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:
parent
7d63b8b95f
commit
9507157f04
6 changed files with 35 additions and 10 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue