From 38c579ddc6ddcb51f40c2049bf17bb08579a5ebc Mon Sep 17 00:00:00 2001 From: Simon Lee Date: Tue, 16 Jul 2024 19:24:38 +0100 Subject: [PATCH] [OhMyPoshProfile v3] - Update 3.1.12.1 Fixed line 239 --- Microsoft.PowerShell_profile.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index f0f2d6f..3d1045d 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -48,7 +48,7 @@ VersionL 3.1.12 - July 2024 | YAML Release Pipeline for Profile Versioning, Adde #> # Oh My Posh Profile Version -$profileVersion = '3.1.12' +$profileVersion = '3.1.12.1' # GitHub Repository Details $gitRepositoryUrl = "https://api.github.com/repos/smoonlee/dev-posh-profile-updater/releases/latest" @@ -237,7 +237,7 @@ function Update-PSProfile { $pwshProfile = Get-Content -Path $PROFILE $pwshThemeName = Split-Path $Env:POSH_THEME -Leaf $pwshProfile = $pwshProfile.Replace('themeNameHere', $pwshThemeName) - $pwshProfile | Set-Content -Path $pwshProfilePath -Force + $pwshProfile | Set-Content -Path $PROFILE -Force # Reading Time Start-Sleep -Seconds '4'