Remove helperfile after using it
This commit is contained in:
parent
b86e9453cf
commit
8b93387940
2
.vscode/ltex.hiddenFalsePositives.en-US.txt
vendored
Normal file
2
.vscode/ltex.hiddenFalsePositives.en-US.txt
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{"rule":"MORFOLOGIK_RULE_EN_US","sentence":"^\\QShoutout to: ankokudaishogun for being a HUGE help\\E$"}
|
||||||
|
{"rule":"SETUP_VERB","sentence":"^\\QWorking on getting it to setup more of the env as well\\E$"}
|
@ -28,5 +28,3 @@ PowerShell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.
|
|||||||
```
|
```
|
||||||
|
|
||||||
You'll get 5 menu options. Use the ones that make sense.
|
You'll get 5 menu options. Use the ones that make sense.
|
||||||
|
|
||||||
|
|
||||||
|
@ -67,6 +67,9 @@ function Update-Profile {
|
|||||||
$CheckString = Get-Content -Path .\CopyFromFile.txt
|
$CheckString = Get-Content -Path .\CopyFromFile.txt
|
||||||
if (-not(Select-String -Quiet -Path $PROFILE -Pattern $CheckString)) {Get-Content -Path .\CopyFromFile.txt | Add-Content -Path $PROFILE}
|
if (-not(Select-String -Quiet -Path $PROFILE -Pattern $CheckString)) {Get-Content -Path .\CopyFromFile.txt | Add-Content -Path $PROFILE}
|
||||||
|
|
||||||
|
#Delete "Helper File"
|
||||||
|
Remove-Item .\CopyFromFile.txt
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user