Update samy.ps1
This commit is contained in:
2
samy.ps1
2
samy.ps1
@@ -1070,7 +1070,7 @@ function Get-UIHtml {
|
||||
|
||||
# Make the CSS background-image follow $Script:SamyBgLogoUrl
|
||||
if ($cssContent) {
|
||||
$pattern = 'background-image:\s*url\("SAMY\.png"\);?' # matches with or without extra spaces/semicolon
|
||||
$pattern = 'background-image:\s*url\("SAMY5\.png"\);?' # matches with or without extra spaces/semicolon
|
||||
$replacement = "background-image: url('$Script:SamyBgLogoUrl');"
|
||||
$cssContent = [regex]::Replace($cssContent, $pattern, $replacement)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user