diff --git a/install.ps1 b/install.ps1 index b40c51c..343b8be 100644 --- a/install.ps1 +++ b/install.ps1 @@ -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"