mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[linux] updatesvc: adaptation for tar.xz archive
This commit is contained in:
@ -71,7 +71,7 @@ int unzipArchive(const string &zipFilePath, const string &folderPath, std::atomi
|
||||
}
|
||||
|
||||
char outpath[1024] = {0};
|
||||
snprintf(outpath, sizeof(outpath), "%s%s", folderPath.c_str(), entryname);
|
||||
snprintf(outpath, sizeof(outpath), "%s/%s", folderPath.c_str(), entryname);
|
||||
|
||||
if (archive_entry_filetype(entry) == AE_IFREG) {
|
||||
archive_entry_set_pathname(entry, outpath);
|
||||
|
||||
Reference in New Issue
Block a user