Update SVSTaskGate.ps1
This commit is contained in:
@@ -723,24 +723,7 @@ function GetHtmlContent {
|
||||
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) {
|
||||
fetch('/installCyberQP', { method: 'GET' });
|
||||
|
||||
Reference in New Issue
Block a user