From 757e483b140212b13408234e165ea5d046d4d326 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 14 Aug 2022 23:20:38 +0100 Subject: [PATCH] Adds Windows install in install.sh and formatting update --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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