*/ public function getListeners(): array { return [ 'steamcmd needs 250mb of free disk space to update', '0x202 after update job', ]; } public function getId(): string { return 'steam_disk_space'; } public function getAction(): Action { return Action::make($this->getId()) ->requiresConfirmation() ->modalHeading('Out of available disk space...') ->modalDescription(new HtmlString(Blade::render( auth()->user()->isAdmin() ? <<<'HTML'

This server has run out of available disk space and cannot complete the install or update process.

Ensure the machine has enough disk space by typing{' '} df -h on the machine hosting this server. Delete files or increase the available disk space to resolve the issue.

HTML : <<<'HTML'

This server has run out of available disk space and cannot complete the install or update process. Please get in touch with the administrator(s) and inform them of disk space issues.

HTML ))) ->modalCancelActionLabel('Close') ->action(fn () => null); } public static function register(Application $app): self { return new self($app); } }