Skip to content

Commit

Permalink
Update Download_SophiApp.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Feb 3, 2024
1 parent dd7debf commit 04dcddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Download_SophiApp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ if (-not ("WinAPI.ForegroundWindow" -as [type]))
{
try
{
Add-Type @Signature
Add-Type @SetForegroundWindow
}
catch [System.Management.Automation.ParameterBindingException]
catch [System.ComponentModel.Win32Exception]
{
Write-Warning -Message "PowerShell 5.1 does not compile code if the username contains non-Latin characters (including emoji) and is written in lowercase. Ignore this error message. Open background folder manually."
}
Expand Down

0 comments on commit 04dcddd

Please sign in to comment.