Seth Flynn
fd91f87c21
style: re-format tree with editorconfig
...
```
find $PWD \
-type f \
! -path '*/.git/*' ! -path '*/flatpak/shared-modules/*' \
! -path '*/libraries/*' ! -path '*/testdata/*' ! -name '*.patch' \
! -name '*.svg' ! -name '*.scd' ! -path '*/program_info/LICENSE' \
! -path '*/COPYING.md' ! -path '*/cmake/*' ! -name '.gitmodules' \
-exec eclint -fix {} \;
```
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2026-01-18 15:48:07 -05:00
Trial97
a6d6ff9926
accept libarchive warning result
...
this is the intended behavior to treat warnings as ok, because
teoretically the file was extracted, even if the time of the file can't
be set
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-14 00:17:17 +02:00
Seth Flynn
fc3c5cba30
Use multibyte encoding aware libarchive functions when dealing with filenames ( #4457 )
2025-12-15 08:09:25 -05:00
Trial97
f05fd4da2b
fix leak of cloned entry
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-14 00:20:24 +02:00
Trial97
9cd199a49e
fix use-afrer-free crash caused by QtConcurrent
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-12 09:00:30 +02:00
Trial97
808b09c403
improve archive detection
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-11 12:54:49 +02:00
Rachel Powers
5e7de6bc53
Apply suggestions from code review
...
Co-authored-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-12-10 22:01:36 -07:00
Rachel Powers
87286fa6a3
fix(libarchive): use multibyte encoding aware libarchive functions when dealing with filenames
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-12-08 21:31:58 -07:00
Seth Flynn
ff40679d0f
refactor(launcher/archive): ensure correct filetype for archived files
...
We can rely on stat for most things but this
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-26 17:01:09 -05:00
Trial97
792b1d6648
apply suggestions
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 19:12:13 +02:00
Alexandru Ionut Tripon
67a5cc9b8d
Update launcher/archive/ArchiveWriter.cpp
...
Co-authored-by: Seth Flynn <getchoo@tuta.io>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2025-11-26 18:41:57 +02:00
Trial97
a17908e078
use file stat to get time information
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:57 +02:00
Trial97
44b36312be
nothing but zip writes
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:57 +02:00
Trial97
5100588c8b
ensure secure extraction
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:57 +02:00
Trial97
561187b18a
fix: utf8 pathname encoding
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:57 +02:00
Trial97
8acc52b1ab
fix: CF import and Modrinth export
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:57 +02:00
Trial97
085183d530
fix license headers
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:57 +02:00
Trial97
aa265a45ee
fix nix build
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:56 +02:00
Trial97
2a99bb534f
add missing copyrights
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:22 +02:00
Trial97
f38a0c8f98
move more zip parsings
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:40:40 +02:00
Trial97
8c36be048c
move ExtractZipTask
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00
Trial97
60b2585711
move some functions from MMCZip to use libarchive
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00
Trial97
fa930afe4b
move ExportToZipTask
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00