Update SVSTaskGate.ps1

This commit is contained in:
2025-01-04 02:40:15 -05:00
parent 456008985a
commit a225494747

View File

@@ -723,24 +723,7 @@ function GetHtmlContent {
appendLog("Setting SVS Powerplan", "cyan"); appendLog("Setting SVS Powerplan", "cyan");
} }
if (installSVSMSPModule.checked) {
appendLog("Installing SVSMSP Module...", "cyan");
fetch('/installsvsmspmodule', { method: 'GET' })
.then(response => {
if (!response.ok) {
throw new Error(`Failed to install SVSMSP Module. Server responded with status ${response.status}`);
}
return response.text();
})
.then(data => {
console.log('SVSMSP Module Installation Request Sent:', data);
appendLog("SVSMSP Module installed successfully.", "green");
})
.catch(error => {
console.error('Error:', error);
appendLog(`Error installing SVSMSP Module: ${error.message}`, "red");
});
}
if (installCyberQP.checked) { if (installCyberQP.checked) {
fetch('/installCyberQP', { method: 'GET' }); fetch('/installCyberQP', { method: 'GET' });