From b2fb2833c858e338427495a5e8773a9598985b87 Mon Sep 17 00:00:00 2001 From: Mikkel Schmidt Date: Fri, 10 Jan 2025 14:52:13 +0100 Subject: [PATCH] GCodeProcessor: add PS 2.9.0 to supported versions. --- src/server/gcode-processor/Actions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/gcode-processor/Actions.ts b/src/server/gcode-processor/Actions.ts index fe1431f66..186e8ee80 100644 --- a/src/server/gcode-processor/Actions.ts +++ b/src/server/gcode-processor/Actions.ts @@ -96,9 +96,9 @@ export function validateGenerator( { cause: gcodeInfo }, ); case GCodeFlavour.PrusaSlicer: - if (!semver.satisfies(gcodeInfo.generatorVersion, '2.8.0 || 2.8.1')) { + if (!semver.satisfies(gcodeInfo.generatorVersion, '2.8.0 || 2.8.1 || 2.9.0')) { throw new SlicerNotSupported( - `Only versions 2.8.0 and 2.8.1 of PrusaSlicer are supported. Version ${gcodeInfo.generatorVersion} is not supported.`, + `Only versions 2.8.0, 2.8.1 and 2.9.0 of PrusaSlicer are supported. Version ${gcodeInfo.generatorVersion} is not supported.`, { cause: gcodeInfo }, ); }