diff --git a/.gitignore b/.gitignore index 016b79e9..2e3f08b6 100644 --- a/.gitignore +++ b/.gitignore @@ -118,4 +118,7 @@ debian/files .specstory/ .cursor/ .cursorindexingignore +.claude/ +.npm-cache/ +.trellis/ diff --git a/src/source/mainwindow.cpp b/src/source/mainwindow.cpp index 4ccf6d96..d5551e00 100644 --- a/src/source/mainwindow.cpp +++ b/src/source/mainwindow.cpp @@ -1287,6 +1287,8 @@ void MainWindow::slotCompress(const QVariant &val) } else if ((false == options.bSplit) && true == bUseLibarchive && "application/zip" == m_stCompressParameter.strMimeType) { // 考虑到华为arm平台 zip压缩 性能提升,只针对zip类型的压缩才会考虑到是否特殊处理arm平台,分卷情况不做此处理 eType = UiTools::APT_Libarchive; + } else if (options.bSplit && "application/zip" == m_stCompressParameter.strMimeType) { + eType = UiTools::APT_Cli7z; } else if ("application/x-compressed-tar" == m_stCompressParameter.strMimeType && m_stCompressParameter.strArchiveName.endsWith("tar.gz")) { if (1 == m_stCompressParameter.iCPUTheadNum) { // 针对单线程的tar.gz,使用gzip默认方式进行压缩