update-install-again (#2)

fix install script.

Co-authored-by: Eric D. Rohler <erohler@progress.com>
Reviewed-on: #2
Co-authored-by: Eric D. Rohler <edrohler@noreply@nodomain.org>
Co-committed-by: Eric D. Rohler <edrohler@noreply@nodomain.org>
This commit is contained in:
Eric D. Rohler 2021-06-20 10:41:40 -04:00
parent 6a6a1501d1
commit 647ed1deb3

View File

@ -13,13 +13,15 @@ Write-Host "User Profile Directory: $($env:USERPROFILE)"
# VS Code Directory
$app_data = $env:APPDATA
New-Item -ItemType Directory -Force -Path "$($app_data)\Code\User"
Write-Host "VS Code User Directory: $($app_data)\Code\User"
$vscode_user_settings_path = "$($app_data)\Code\User\settings.json"
Write-Host "VS Code User Settings Path: $($vscode_user_settings_path)"
# Cmder Config Directory
$cmder_root = $env:CMDER_ROOT
$cmder_root = "$($env:USERPROFILE)\Cmder"
New-Item -ItemType Directory -Force -Path "$($cmder_root)\config"
Write-Host "Cmder Config Directory: $($cmder_root)\config"
$cmder_user_conemu_xml_path = "$($cmder_root)\config\user_ConEmu.xml"
@ -36,6 +38,7 @@ Write-Host "Cmder PowerShell Profile Path: $($cmder_user_profile_ps_path)"
# Neovim Config Directory
$local_app_data = $env:LOCALAPPDATA
New-Item -ItemType Directory -Force -Path "$($local_app_data)\nvim"
Write-Host "Neovim Init Directory: $($local_app_data)\nvim"
$neovim_init_path = "$($local_app_data)\nvim\init.vim"