From 9f535249712d7e634ec6f9651ef5a61733761515 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Tue, 17 Sep 2024 14:03:10 -0700 Subject: [PATCH] update version regex --- emain/emain.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emain/emain.ts b/emain/emain.ts index 28c2bb79c..60dc7dd1e 100644 --- a/emain/emain.ts +++ b/emain/emain.ts @@ -190,7 +190,9 @@ function runWaveSrv(): Promise { }); rlStderr.on("line", (line) => { if (line.includes("WAVESRV-ESTART")) { - const startParams = /ws:([a-z0-9.:]+) web:([a-z0-9.:]+) version:([a-z0-9.]+) buildtime:(\d+)/gm.exec(line); + const startParams = /ws:([a-z0-9.:]+) web:([a-z0-9.:]+) version:([a-z0-9.\-]+) buildtime:(\d+)/gm.exec( + line + ); if (startParams == null) { console.log("error parsing WAVESRV-ESTART line", line); electronApp.quit();