Update samy.ps1
This commit is contained in:
9
samy.ps1
9
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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user