chore: 更新版本号至 1.0.4-beta.0,移除重复任务检查逻辑

This commit is contained in:
Elysia
2026-01-31 20:21:02 +08:00
parent 0d1d4e5679
commit eb386ec23e
2 changed files with 1 additions and 12 deletions

View File

@@ -149,17 +149,6 @@ ipcMain.on('queue-install', async (event, download_json) => {
return;
}
tasks.forEach((task) => {
if (task.pkgname === pkgname) {
task.webContents?.send('install-log', {
id: task.id,
time: Date.now(),
message: `软件包 ${pkgname} 已在安装队列中,忽略重复添加`
});
return;
}
});
const webContents = event.sender;
// 开始组装安装命令