From 32adf7fde66030c69fc440a3dece0c0b6b7c6701 Mon Sep 17 00:00:00 2001 From: "Justin Kolasa (from Dev Box)" Date: Mon, 28 Apr 2025 15:12:17 -0400 Subject: [PATCH] Increased timeout to 2.5 secs to see if that helps with VS Code open popup --- src/Explorer/Explorer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Explorer/Explorer.tsx b/src/Explorer/Explorer.tsx index caf42c3ce..7a6ad23df 100644 --- a/src/Explorer/Explorer.tsx +++ b/src/Explorer/Explorer.tsx @@ -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;