Skip to content

Commit

Permalink
Update OneClickInstall.ts
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Sourav Jha <[email protected]>
  • Loading branch information
shivamsouravjha authored Sep 9, 2024
1 parent 00812ab commit 6ca349e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/OneClickInstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ export default function executeKeployOneClickCommand(): void {
const checkKeployExistsCommand = `keploy`;

// The command to download and install Keploy
const installationCommand = `curl --show-error -L https://keploy.io/install.sh -o /tmp/install.sh && chmod +x /tmp/install.sh && . /tmp/install.sh -noRoot`;

const installationCommand = `curl --silent -O -L https://keploy.io/install.sh -o /tmp/install.sh && chmod +x /tmp/install.sh && bash /tmp/install.sh -noRoot`;
exec(checkKeployExistsCommand, (error, stdout, stderr) => {
if (error) {
// Execute the installation command
Expand All @@ -20,4 +19,4 @@ export default function executeKeployOneClickCommand(): void {
console.log(`Keploy is already installed: ${stdout}`);
}
});
}
}

0 comments on commit 6ca349e

Please sign in to comment.