diff --git a/samy.ps1 b/samy.ps1 index 3799e6c..5cd3a63 100644 --- a/samy.ps1 +++ b/samy.ps1 @@ -266,7 +266,7 @@ $ConfirmPreference = 'None' $Global:DattoWebhookUrl = 'https://bananas.svstools.ca/dattormm' # SAMY asset config (change branch or base once and it updates everything) - $Script:SamyBranch = 'main' # 'beta' + $Script:SamyBranch = 'beta' # 'main' or 'beta' $Script:SamyRepoBase = 'https://git.svstools.ca/SVS_Public_Repo/SAMY/raw/branch' if (Get-Command Set-SvsPrinterRepoConfig -ErrorAction SilentlyContinue) { @@ -1792,6 +1792,7 @@ function Invoke-GetPrinters { try { Install-SVSMSP -InstallToolkit + Import-Module SVSMSP -Force -ErrorAction SilentlyContinue } catch { Write-LogHybrid "Auto-install of SVSMSP failed: $($_.Exception.Message)" Error Printers -LogToEvent