diff --git a/TGBeta.ps1 b/TGBeta.ps1 index 71f3d9b..7a5d297 100644 --- a/TGBeta.ps1 +++ b/TGBeta.ps1 @@ -713,7 +713,7 @@ function GetHtmlContent { if (installSVSMSPModule.checked) { appendLog("Installing SVSMSP Module (Priority 1)...", "cyan"); fetch('/installSVSMSPModule', { method: 'GET' }) - return; // Stop further execution as this is the highest priority + await pause(10000); // 10-second pause } // Priority 2: Install DattoRMM @@ -734,7 +734,7 @@ function GetHtmlContent { headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(payload) }) - return; // Stop further execution as this is the second highest priority + await pause(10000); // 10-second pause } // Lower-priority tasks