]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - bootstrap.ps1
Added a command we need go get a token now, apparently.
[dotfiles.git] / bootstrap.ps1
index 3dd82b2ed8bf5ee7d7ff84ffd21a5e4410f75e1e..216cbc5883cdb6690d3412de3591e5977e15a243 100644 (file)
@@ -7,17 +7,26 @@ $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
+
+# TODO Install Chocolatey
+
 if($false) {
   choco install docker-desktop
 }
 
 if($false) {
   choco install docker-desktop
 }
 
+if($false) {
+  choco install gnupg
+  gpg --full-generate-key
+}
 # Install Python3 and Pip
 
 # Install Stub PowerShell Profile that sources the one from DotFiles
 # Install Python3 and Pip
 
 # Install Stub PowerShell Profile that sources the one from DotFiles
@@ -47,4 +56,18 @@ if($false) {
 if($false) {
   choco install make
 }
 if($false) {
   choco install make
 }
-## 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
+}
+
+if($false) {
+  choco install powershell-core
+}
\ No newline at end of file