Update samy.ps1

This commit is contained in:
2025-12-01 04:22:44 -05:00
parent 2270d19425
commit 1f1114007d

View File

@@ -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
#