X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/1a6f66a6febe4f0468bbfc91344ea3d01d090a1e..2667b02f5f5fb25db63ef46fd8af3109715351e1:/bootstrap.ps1?ds=sidebyside diff --git a/bootstrap.ps1 b/bootstrap.ps1 index c21c695..953fc1e 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -7,16 +7,17 @@ $sourceMeLine = '$profileContents = [string]::join([environment]::newline, (get- $sourceMeLine += $sourceMeFile $sourceMeLine += '));invoke-expression $profileContents' -Write-Host $sourceMeLine +# Write-Host $sourceMeLine + +$doneFlagFile = "./DONE.md" +$doBootStrap = -Not (Test-Path -Path $doneFlagFile) $profileContents = Get-Content $profile if(! $profileContents -contains $sourceMeLine) { Add-Content -Path $profile -Value $sourceMeLine } -# Install Chocolatey -if($false) { - choco install docker-desktop -} + +# TODO Install Chocolatey # Install Python3 and Pip @@ -43,4 +44,19 @@ if($false) { choco install zap } -## TODO: Can I set this via command line: chrome://flags/#enable-force-dark \ No newline at end of file +## TODO: Can I set this via command line: chrome://flags/#enable-force-dark + +if($doBootStrap) { + # DONE! + New-Item -ItemType File -Path $doneFlagFile +} + +# ArchiMate for enterprise modeling +if($false) { + choco install archi +} + +# Install dev tools +./install/dev.ps1 + +PowerShellGet\Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force