Skip to content

The only downloader you need. 下载器的集大成者。

fix(task): 同名文件选覆盖后报错 #937

XiaoYouChRe18d568379fb
diff --git a/app/platform/desktop.py b/app/platform/desktop.py
index 57471033..c01935ca 100644
--- a/app/platform/desktop.py
+++ b/app/platform/desktop.py
@@ -110,8 +110,7 @@ def _revealInFolderShell(path: Path) -> bool:
def deleteRecoverably(path: Path) -> bool:
- isMoved, _ = QFile.moveToTrash(str(path))
- return isMoved
+ return QFile.moveToTrash(str(path))
def loadCrx() -> bytes: