Skip to content

Commit

Permalink
refactor: Update install.sh to support Windows OS
Browse files Browse the repository at this point in the history
  • Loading branch information
simlarsen committed Jun 26, 2024
1 parent 976686b commit 95aaa68
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ echo "Downloading from $URL"
# If windows then unzip the binary

if [ "$OS" = "windows" ]; then
# download to current directory
curl -sL "${URL}" -o /tmp/oneuptime-infrastructure-agent.zip
unzip -o /tmp/oneuptime-infrastructure-agent.zip -d "${BINDIR}"
rm -f /tmp/oneuptime-infrastructure-agent.zip
Expand Down

0 comments on commit 95aaa68

Please sign in to comment.