Skip to content

Commit

Permalink
GCodeProcessor: add PS 2.9.0 to supported versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
miklschmidt authored Jan 10, 2025
1 parent d55171d commit b2fb283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/gcode-processor/Actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
);
}
Expand Down

0 comments on commit b2fb283

Please sign in to comment.