Update samy.ps1

This commit is contained in:
2025-11-26 21:00:55 -05:00
parent f3cd71e735
commit 2a02b12e11

View File

@@ -1075,8 +1075,8 @@ function Get-UIHtml {
#
# 3) Pull CSS/JS from Gitea and inline them
#
$cssContent = Get-RemoteText -Url "https://git.svstools.ca/SVS_Public_Repo/S.A.M.Y/raw/branch/main/samy.css?raw=1"
$jsContent = Get-RemoteText -Url "https://git.svstools.ca/SVS_Public_Repo/S.A.M.Y/raw/branch/main/samy.js?raw=1"
$cssContent = Get-RemoteText -Url "https://git.svstools.ca/SVS_Public_Repo/SAMY/raw/branch/main/samy.css?raw=1"
$jsContent = Get-RemoteText -Url "https://git.svstools.ca/SVS_Public_Repo/SAMY/raw/branch/main/samy.js?raw=1"
#
# 4) HTML template - **no external link/script src** anymore, all inlined
@@ -1088,7 +1088,7 @@ function Get-UIHtml {
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Script Monkey</title>
<link rel="icon" href="https://git.svstools.ca/SVS_Public_Repo/S.A.M.Y/raw/branch/main/SVS_Favicon.ico">
<link rel="icon" href="https://git.svstools.ca/SVS_Public_Repo/SAMY/raw/branch/main/SVS_Favicon.ico">
<style>
$cssContent
@@ -1098,7 +1098,7 @@ $cssContent
<div class="logo-container">
<!-- SVS Logo (left) -->
<div class="logo-left">
<img src="https://git.svstools.ca/SVS_Public_Repo/S.A.M.Y/raw/branch/main/SVS_logo.svg" alt="SVS Logo">
<img src="https://git.svstools.ca/SVS_Public_Repo/SAMY/raw/branch/main/SVS_logo.svg" alt="SVS Logo">
{{moduleVersion}}
</div>