From 0bed821583ce9ea0091ebb9de32cd65c3d79a7e4 Mon Sep 17 00:00:00 2001 From: smartfire-tech <110813337+smartfire-tech@users.noreply.github.com> Date: Thu, 24 Oct 2024 14:14:25 +0000 Subject: [PATCH] Add setShellPath method to customize shell path in Host class --- src/Host/Host.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Host/Host.php b/src/Host/Host.php index 56796e682..68c91a245 100644 --- a/src/Host/Host.php +++ b/src/Host/Host.php @@ -198,6 +198,17 @@ public function getShell(): ?string return $this->config->get('shell', null); } + public function setShellPath(string $path): self + { + $this->config->set('shell_path', $path); + return $this; + } + + public function getShellPath(): ?string + { + return $this->config->get('shell_path', null); + } + public function setDeployPath(string $path): self { $this->config->set('deploy_path', $path);