Update Samy-new.ps1
This commit is contained in:
21
Samy-new.ps1
21
Samy-new.ps1
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user