Fix for downloads and removing of library source (#136)

* fix: downloads and removing library source

* fix: linting
This commit is contained in:
DecDuck
2025-07-14 15:34:10 +10:00
committed by GitHub
parent 51390e115f
commit 935ff48b15
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -71,8 +71,8 @@ export default defineClientEventHandler(async (h3) => {
game.libraryPath,
versionName,
filename,
{ start, end: end - 1 },
); // end needs to be offset by 1
{ start, end },
);
if (!gameReadStream)
throw createError({
statusCode: 400,