Skip to content

Commit 936e1a2

Browse files
committed
add support for windows
Signed-off-by: FaithKovi <faithkovivera@gmail.com>
1 parent 2a6b262 commit 936e1a2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

install.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,16 @@ while true; do
3232
break
3333

3434
elif [[ $system == "CYGWIN" || "$(uname)" == * ]]; then
35-
echo "CYGWIN is not yet supported"
36-
exit
35+
packages=("git" "gh" "curl" "nodejs")
36+
37+
for package in "${packages[@]}"; do
38+
if ! command -v "$package" &> /dev/null; then
39+
echo "Installing $package..."
40+
apt-cyg install "$package"
41+
else
42+
echo "$package is already installed."
43+
fi
44+
done
3745
fi
3846

3947
done

0 commit comments

Comments
 (0)