diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 904927d..5464dd9 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartarchive', - version: '4.0.33', + version: '4.0.34', description: 'A library for working with archive files, providing utilities for compressing and decompressing data.' } diff --git a/ts/classes.tartools.ts b/ts/classes.tartools.ts index c50ee6a..2119300 100644 --- a/ts/classes.tartools.ts +++ b/ts/classes.tartools.ts @@ -104,7 +104,7 @@ export class TarTools { const fileStat = await plugins.smartfile.fs.stat(absolutePath); await this.addFileToPack(pack, { byteLength: fileStat.size, - filePath: filePath, + filePath: absolutePath, fileName: filePath, content: plugins.smartfile.fsStream.createReadStream(absolutePath), });