mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 01:10:16 +08:00
chore: 更新版本号至 1.0.4-beta.0,移除重复任务检查逻辑
This commit is contained in:
@@ -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;
|
||||
|
||||
// 开始组装安装命令
|
||||
|
||||
Reference in New Issue
Block a user