Skip to content

Commit

Permalink
Merge pull request #60 from smoonlee/3.1.12.5.13-dev
Browse files Browse the repository at this point in the history
Executing Release Build
  • Loading branch information
smoonlee authored Jul 24, 2024
2 parents 143cf73 + e83dac4 commit f879c7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Microsoft.PowerShell_profile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit f879c7e

Please sign in to comment.