From 1f1114007d1880e0904286f09429eac19c592bf2 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Mon, 1 Dec 2025 04:22:44 -0500 Subject: [PATCH] Update samy.ps1 --- samy.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) 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 #