Skip to content

Commit

Permalink
fix package installation for windows
Browse files Browse the repository at this point in the history
Signed-off-by: FaithKovi <[email protected]>
  • Loading branch information
FaithKovi committed Sep 29, 2023
1 parent 936e1a2 commit 778ecf9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,8 @@ while true; do
break

elif [[ $system == "CYGWIN" || "$(uname)" == * ]]; then
packages=("git" "gh" "curl" "nodejs")

for package in "${packages[@]}"; do
if ! command -v "$package" &> /dev/null; then
echo "Installing $package..."
apt-cyg install "$package"
else
echo "$package is already installed."
fi
done
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install -y git gh curl nodejs
fi

done
Expand Down

0 comments on commit 778ecf9

Please sign in to comment.