diff --git a/samy.ps1 b/samy.ps1 index 170d997..7997c32 100644 --- a/samy.ps1 +++ b/samy.ps1 @@ -1052,6 +1052,15 @@ function Get-UIHtml { $cssContent = Get-RemoteText -Url $Script:SamyCssUrl $jsContent = Get-RemoteText -Url $Script:SamyJsUrl + # Make the CSS background-image follow $Script:SamyLogoUrl + if ($cssContent) { + $cssContent = $cssContent.Replace( + 'background-image: url("SAMY.png");', + "background-image: url(`"$Script:SamyLogoUrl`");" + ) + } + + # # 4) HTML template - **no external link/script src** anymore, all inlined #