Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [3.1.2] - 2025-08-23

### Fixed

- **File Extraction**:
- Fixed tar file extraction by adding proper gunzip decompression for compressed archives
- Added `gunzip-maybe` dependency to handle both compressed and uncompressed tar files

### Technical Details
- Improved archive handling robustness for different compression formats

## [3.1.1] - 2025-08-22

### Fixed
Expand Down
148 changes: 142 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "choirslides",
"productName": "ChoirSlides",
"version": "3.1.1",
"version": "3.1.2",
"description": "A software designed to create lyric slideshows. This software allows users to combine lyrics with background videos, resulting in a visually engaging slideshow that synchronizes the lyrics with the video footage.",
"main": "./.webpack/main",
"scripts": {
Expand Down Expand Up @@ -40,6 +40,7 @@
"electron-squirrel-startup": "^1.0.0",
"font-list": "^1.5.1",
"fswin": "^3.24.524",
"gunzip-maybe": "^1.4.2",
"hotkeys-js": "^3.13.7",
"interactjs": "^1.10.27",
"konva": "^9.3.6",
Expand All @@ -63,6 +64,7 @@
"@electron-forge/plugin-auto-unpack-natives": "^6.2.1",
"@electron-forge/plugin-webpack": "^7.3.1",
"@electron-forge/publisher-github": "^6.3.0",
"@types/gunzip-maybe": "^1.4.2",
"@types/tar-stream": "^3.1.4",
"@vercel/webpack-asset-relocator-loader": "^1.7.3",
"autoprefixer": "^10.4.19",
Expand Down
3 changes: 2 additions & 1 deletion src/workingFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as fs from "fs";
import * as archiver from "archiver";
import * as tar from "tar-stream";
import { buffer } from "stream/consumers";
const gunzip = require("gunzip-maybe");
import { Stream } from "stream";

enum ProjectOpenMode {
Expand Down Expand Up @@ -143,7 +144,7 @@ class WorkingFile {
extract.on("finish", resolve);
extract.on("error", reject);

fs.createReadStream(tarFilePath).pipe(extract);
fs.createReadStream(tarFilePath).pipe(gunzip()).pipe(extract);
});
}

Expand Down
Loading