mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Update launcher/archive/ArchiveWriter.cpp
Co-authored-by: Seth Flynn <getchoo@tuta.io> Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
a17908e078
commit
67a5cc9b8d
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ bool ArchiveWriter::addFile(const QString& fileName, const QString& fileDest)
|
|||
if (stat(cpath, &st) == 0) {
|
||||
archive_entry_copy_stat(entry, &st);
|
||||
}
|
||||
archive_entry_set_perm(entry, fileInfo.permissions() & 0777);
|
||||
archive_entry_set_perm(entry, fileInfo.permissions());
|
||||
|
||||
if (fileInfo.isSymLink()) {
|
||||
auto target = fileInfo.symLinkTarget().toUtf8();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue