Skip to content

Commit

Permalink
bugfix unpack archiver
Browse files Browse the repository at this point in the history
  • Loading branch information
hitman249 committed Jun 9, 2023
1 parent 6ab0ed0 commit 55c1265
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/src/modules/file-system.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ export default class FileSystem {
*/
unpack(inFile, outDir, simple = false) {
if (_.endsWith(inFile, '.tar.xz')) {
return this.unpackXz(inFile, outDir, simple);
return this.unpackXz(inFile, outDir, 'xf', '', 'tar', simple);
}
if (_.endsWith(inFile, '.tar.gz') || _.endsWith(inFile, '.tgz')) {
return this.unpackGz(inFile, outDir, simple);
Expand Down
2 changes: 1 addition & 1 deletion src/src/modules/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const fs = require('fs');

export default class Update {

version = '1.5.15';
version = '1.5.16';

/**
* @type {string}
Expand Down

0 comments on commit 55c1265

Please sign in to comment.