Update Samy-new.ps1

This commit is contained in:
2026-01-14 03:00:23 -05:00
parent 4ee495250f
commit 09a7f108c6

View File

@@ -62,13 +62,28 @@ function Import-SamyChunk {
# Single source of truth for where chunks live
# (Matches your current inline values)
$Script:SamyRepoBase = 'https://git.svstools.ca/SVS_Public_Repo/SAMY/raw/branch'
$Script:SamyBranch = 'beta' # 'main' or 'beta'
$Script:SamyGitURL = 'https://git.svstools.ca/SVS_Public_Repo/SAMY/raw/branch'
$Script:SamyGitBranch = 'beta' # 'main' or 'beta'
$Script:ChunkBase = "$Script:SamyRepoBase/$Script:SamyBranch/src"
$Script:SamyGitRepo = "$Script:SamyGitURL/$Script:SamyGitBranch"
$Script:SamyTopLogoUrl = "$Script:SamyGitRepo/SVS_logo.svg?raw=1"
$Script:SamyBgLogoUrl = "$Script:SamyGitRepo/SAMY.png?raw=1"
$Script:SamyFaviconUrl = "$Script:SamyGitRepo/SVS_Favicon.ico?raw=1"
$Script:SamyCssUrl = "$Script:SamyGitRepo/samy.css?raw=1"
$Script:SamyJsUrl = "$Script:SamyGitRepo/samy.js?raw=1"
$Script:SamyHtmlUrl = "$Script:SamyGitRepo/samy.html?raw=1"
$Script:SamyTasksUrl = "$Script:SamyGitRepo/samy.tasks.json?raw=1"
$Script:ChunkBase = "$Script:SamyGitRepo/src"
# Load chunks (dependencies first)
$chunks = @(
@{ Name = 'samy.functions.ps1'; Url = "$Script:ChunkBase/samy.functions.ps1?raw=1" },
@{ Name = 'config.ps1'; Url = "$Script:ChunkBase/config.ps1?raw=1" },
@{ Name = 'logging.fallback.ps1'; Url = "$Script:ChunkBase/logging.fallback.ps1?raw=1" },
@{ Name = 'remote.ps1'; Url = "$Script:ChunkBase/remote.ps1?raw=1" },