mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix: CF import and Modrinth export
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
b119cc04df
commit
8acc52b1ab
2 changed files with 11 additions and 3 deletions
|
|
@ -56,7 +56,7 @@ bool ArchiveWriter::open()
|
|||
} else if (lowerName.endsWith(".tar.xz") || lowerName.endsWith(".txz")) {
|
||||
archive_write_set_format_pax_restricted(m_archive);
|
||||
archive_write_add_filter_xz(m_archive);
|
||||
} else if (lowerName.endsWith(".zip") || lowerName.endsWith(".jar")) {
|
||||
} else if (lowerName.endsWith(".zip") || lowerName.endsWith(".jar") || lowerName.endsWith(".mrpack")) {
|
||||
archive_write_set_format_zip(m_archive);
|
||||
} else if (lowerName.endsWith(".tar")) {
|
||||
archive_write_set_format_pax_restricted(m_archive);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue