Adds Windows install in install.sh and formatting update

This commit is contained in:
Alicia Sykes 2022-08-14 23:20:38 +01:00
parent 33ca0489a2
commit 757e483b14

View File

@ -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