Skip to content

Commit

Permalink
Merge pull request #41 from keploy/one-click
Browse files Browse the repository at this point in the history
fix: one click
  • Loading branch information
shivamsouravjha authored Sep 9, 2024
2 parents ced8929 + 6ca349e commit 5686166
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 && source /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 5686166

Please sign in to comment.