From 5ea3b971a2d40c29ab4e81e5bcf14021b5949402 Mon Sep 17 00:00:00 2001 From: Nate MacFadden Date: Mon, 28 Oct 2024 12:49:17 -0400 Subject: [PATCH] Formally update the version, wait longer on startup The waiting fixed a bug where CYTools would error out since the Jupyter notebook wouldn't open quickly enough --- scripts/windows/launcher.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/windows/launcher.ps1 b/scripts/windows/launcher.ps1 index ddea3df..feb294e 100644 --- a/scripts/windows/launcher.ps1 +++ b/scripts/windows/launcher.ps1 @@ -39,7 +39,7 @@ $banner=@" ░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░░ ░░░░░░ ░░░░░ ░░░░░░ Developed by Liam McAllister's Group - https://cy.tools | Version 1.2.5 + https://cy.tools | Version 1.0.4 "@ @@ -55,9 +55,9 @@ if ( "$contid" -eq "" ) { exit } -# Wait for up to 10 seconds for Jupyter lab to initialize +# Wait for up to 30 seconds for Jupyter lab to initialize $initialized = $false -for ($n = 1; $n -le 20; $n++) { +for ($n = 1; $n -le 60; $n++) { sleep .5 $logs = docker logs cytools if ("$logs".Contains("127.0.0.1")) {