Remove helperfile after using it

This commit is contained in:
TheFlyingFool 2024-05-21 15:13:16 -05:00
parent b86e9453cf
commit 8b93387940
3 changed files with 5 additions and 2 deletions

View 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$"}

View File

@ -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.

View File

@ -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
} }