Guest User

Untitled

a guest
Jan 23rd, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. choco install -y cmake.install --install-arguments='"ADD_CMAKE_TO_PATH=System"'
  2. choco install -y git.install -params '"/NoShellIntegration /GitOnlyOnPath /WindowsTerminal /SChannel"'
  3. choco install -y tortoisegit previewconfig winmerge docker-desktop docker-kitematic
  4.  
  5. # Create a junction link to Docker folder in order to expose Kitematic.exe to Docker
  6. $source = 'C:\ProgramData\chocolatey\lib\docker-kitematic\tools'
  7. $targetTopDir = 'C:\Program Files\Docker'
  8. $targetActDir = Join-Path -Path "$targetTopDir" "Kitematic"
  9.  
  10. if (Test-Path -Path "$targetTopDir") {
  11. if (-not (Test-Path -Path "$targetActDir")) {
  12. if (Test-Path -Path "$source") {
  13. New-Item -Path "$targetActDir" -ItemType "Junction" -Value "$source"
  14. }
  15. }
  16. }
Add Comment
Please, Sign In to add comment