]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - bootstrap.ps1
Move install scripts together.
[dotfiles.git] / bootstrap.ps1
index 6efa58b51814b099301839385564200d0df3e9bc..807826c8a3ba1657504e1fd1f264df96a2db1ec9 100644 (file)
@@ -7,16 +7,17 @@ $sourceMeLine = '$profileContents = [string]::join([environment]::newline, (get-
 $sourceMeLine += $sourceMeFile
 $sourceMeLine += '));invoke-expression $profileContents'
 
 $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
 }
 
 $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
 
 
 # Install Python3 and Pip
 
@@ -41,4 +42,19 @@ if($false) {
 # OWASP ZAP for web application security scanning
 if($false) {
   choco install zap
 # OWASP ZAP for web application security scanning
 if($false) {
   choco install zap
-}
\ 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
\ No newline at end of file