Skip to content

Commit 9952c70

Browse files
refactor(ipc-file): 移除未使用的referer参数
清理下载函数中未使用的referer参数,简化函数签名。
1 parent 2894c35 commit 9952c70

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

electron/main/ipc/ipc-file.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,6 @@ const initFileIpc = (): void => {
532532
saveMetaFile,
533533
songData,
534534
skipIfExist,
535-
referer,
536535
} = options;
537536
// 规范化路径
538537
const downloadPath = resolve(path);
@@ -641,7 +640,6 @@ const initFileIpc = (): void => {
641640
finalFilePath,
642641
metadata,
643642
threadCount,
644-
referer,
645643
onProgress,
646644
);
647645

0 commit comments

Comments
 (0)