diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index fe9cf88..e6569bd 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -55,7 +55,7 @@ Version: 3.1.12.5.* - July 2024 | Patched Update-PSProfile find and replace. #> # Oh My Posh Profile Version -$profileVersion = '3.1.12.5.12-dev' +$profileVersion = '3.1.12.5.13-dev' # GitHub Repository Details $gitRepositoryUrl = "https://api.github.com/repos/smoonlee/oh-my-posh-profile/releases" @@ -256,10 +256,10 @@ function Get-PSProfileUpdate { # Replace 'themeNameHere' with the current theme name, but only once [regex]$pattern = "themeNameHere" $pwshProfile = [regex]::Replace($pwshProfile, $pattern, $pwshThemeName, 1) - + # Write the updated content back to the profile $pwshProfile | Set-Content -Path $PROFILE -Force - + # Wait for a few seconds Start-Sleep -Seconds 4