Increased timeout to 2.5 secs to see if that helps with VS Code open popup

This commit is contained in:
Justin Kolasa (from Dev Box) 2025-04-28 15:12:17 -04:00
parent 1b1cc773ed
commit 32adf7fde6

View File

@ -300,12 +300,12 @@ export default class Explorer {
document.body.appendChild(iframe);
setTimeout(() => {
if (!hasRedirected && Date.now() - startTime < 1200) {
if (!hasRedirected && Date.now() - startTime < 2500) {
hasRedirected = true;
window.open(downloadUrl, "_blank");
logConsoleInfo("VS Code not detected. Opening download page.");
}
}, 1000);
}, 2500);
try {
iframe.src = vscodeUrl;