Update SVSTaskGate-old.ps1

This commit is contained in:
2025-01-04 02:29:24 -05:00
parent 92b012796c
commit 434ac249dc

View File

@@ -688,6 +688,7 @@ function GetHtmlContent {
const UID = dropdown.options[dropdown.selectedIndex].value; const UID = dropdown.options[dropdown.selectedIndex].value;
const Name = dropdown.options[dropdown.selectedIndex].text; const Name = dropdown.options[dropdown.selectedIndex].text;
const installSVSMSPModule = document.querySelector('input[name="installSVSMSPModule"]');
const installDattoRMM = document.querySelector('input[name="installDattoRMM"]'); const installDattoRMM = document.querySelector('input[name="installDattoRMM"]');
const installCyberQP = document.querySelector('input[name="installCyberQP"]'); const installCyberQP = document.querySelector('input[name="installCyberQP"]');
const installSplashtop = document.querySelector('input[name="installSplashtop"]'); const installSplashtop = document.querySelector('input[name="installSplashtop"]');
@@ -696,7 +697,7 @@ function GetHtmlContent {
const installThreatLocker = document.querySelector('input[name="installThreatlocker"]'); const installThreatLocker = document.querySelector('input[name="installThreatlocker"]');
const installRocketCyber = document.querySelector('input[name="installRocketCyber"]'); const installRocketCyber = document.querySelector('input[name="installRocketCyber"]');
if (installSVSMSPModule) { if (installSVSMSPModule.checked) {
appendLog("Installing SVSMSP Module...", "cyan"); appendLog("Installing SVSMSP Module...", "cyan");
fetch('/installsvsmspmodule', { method: 'GET' }) fetch('/installsvsmspmodule', { method: 'GET' })
.then(response => { .then(response => {