]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
VSCode generated PS debug settings.
authorEdward Delaporte <delaport@illinois.edu>
Wed, 1 Apr 2020 13:26:32 +0000 (08:26 -0500)
committerEdward Delaporte <delaport@illinois.edu>
Wed, 1 Apr 2020 13:26:32 +0000 (08:26 -0500)
bootstrap.ps1

index 3dd82b2ed8bf5ee7d7ff84ffd21a5e4410f75e1e..9cefade075b0031b6749dd4b7dcb1aa1a9feed29 100644 (file)
@@ -9,6 +9,9 @@ $sourceMeLine += '));invoke-expression $profileContents'
 
 Write-Host $sourceMeLine
 
+$doneFlagFile = "./DONE.md"
+$doBootStrap = Test-Path -Path $doneFlagFile
+
 $profileContents = Get-Content $profile 
 if(! $profileContents -contains $sourceMeLine) {
   Add-Content -Path $profile -Value $sourceMeLine
@@ -47,4 +50,9 @@ if($false) {
 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
+}
\ No newline at end of file