diff --git a/install.sh b/install.sh index 858425d..723932d 100644 --- a/install.sh +++ b/install.sh @@ -15,7 +15,7 @@ REPO_PATH="https://github.com/${REPO_NAME}.git" CONFIG=".install.conf.yaml" DOTBOT_DIR="dotbot" DOTBOT_BIN="bin/dotbot" -CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +CURRENT_DIR=$(cd "$(dirname ${BASH_SOURCE[0]})" && pwd) DOTFILES_DIR="${DOTFILES_DIR:-$HOME/Documents/config/dotfiles}" TITLE='🧰 Lissy93/Dotfiles Setup' @@ -148,6 +148,10 @@ function install_packages () { brew cleanup fi fi + # Windows (WIP) + if [ "$system_type" = "WindowsNT" ] || [ "$OSTYPE" = "msys" ] || [ "$OSTYPE" = "cygwin" ]; then + "${DOTFILES_DIR}/installs/windows.sh" + fi } # Updates current session, and outputs summary