diff --git a/dde-file-manager-lib/controllers/filecontroller.cpp b/dde-file-manager-lib/controllers/filecontroller.cpp index aab5fea..e86b0a6 100644 --- a/dde-file-manager-lib/controllers/filecontroller.cpp +++ b/dde-file-manager-lib/controllers/filecontroller.cpp @@ -391,17 +391,17 @@ bool FileController::openFileByApp(const QSharedPointer & bool FileController::compressFiles(const QSharedPointer &event) const { - if (findExecutable("file-roller")) { + if (findExecutable("gxde-compressor")) { QStringList args; args << "-d"; foreach (DUrl url, event->urlList()) { args << url.toLocalFile(); } qDebug() << args; - bool result = QProcess::startDetached("file-roller", args); + bool result = QProcess::startDetached("gxde-compressor", args); return result; } else { - qDebug() << "file-roller is not installed"; + qDebug() << "gxde-compressor is not installed"; } return false; @@ -409,17 +409,17 @@ bool FileController::compressFiles(const QSharedPointer &event bool FileController::decompressFile(const QSharedPointer &event) const { - if (findExecutable("file-roller")) { + if (findExecutable("gxde-compressor")) { QStringList args; args << "-f"; for (auto it : event->urlList()) { args << it.toLocalFile(); } qDebug() << args; - bool result = QProcess::startDetached("file-roller", args); + bool result = QProcess::startDetached("gxde-compressor", args); return result; } else { - qDebug() << "file-roller is not installed"; + qDebug() << "gxde-compressor is not installed"; } return false; @@ -427,17 +427,17 @@ bool FileController::decompressFile(const QSharedPointer &ev bool FileController::decompressFileHere(const QSharedPointer &event) const { - if (findExecutable("file-roller")) { + if (findExecutable("gxde-compressor")) { QStringList args; args << "-h"; for (auto it : event->urlList()) { args << it.toLocalFile(); } qDebug() << args; - bool result = QProcess::startDetached("file-roller", args); + bool result = QProcess::startDetached("gxde-compressor", args); return result; } else { - qDebug() << "file-roller is not installed"; + qDebug() << "gxde-compressor is not installed"; } return false; diff --git a/debian/changelog b/debian/changelog index c19a4f7..2b722a9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -dde-file-manager (4.8.28) UNRELEASED; urgency=medium +dde-file-manager (4.8.28-1) UNRELEASED; urgency=medium [ shenmo ] * 去除桌面右键全选功能 @@ -7,6 +7,7 @@ dde-file-manager (4.8.28) UNRELEASED; urgency=medium * 视频预览更改为libgxmr实现 * 推更 重新编译 * 修复 依赖fantascene + * 新增 依赖 gxde-compressor [ gfdgd_xi ] * 文件管理器支持格式化本地磁盘 diff --git a/debian/control b/debian/control index a8b7fd1..1f5d324 100644 --- a/debian/control +++ b/debian/control @@ -64,7 +64,8 @@ Depends: libdtkwidget2, libdtkcore2, libdisomaster, - libisoburn1 + libisoburn1, + gxde-compressor, Recommends: dde-qt5integration, avfs, samba Description: File manager front end File manager front-end of Deepin OS