mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 09:20:18 +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;
|
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;
|
const webContents = event.sender;
|
||||||
|
|
||||||
// 开始组装安装命令
|
// 开始组装安装命令
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "apm-store",
|
"name": "apm-store",
|
||||||
"version": "1.0.3",
|
"version": "1.0.4-beta.0",
|
||||||
"main": "dist-electron/main/index.js",
|
"main": "dist-electron/main/index.js",
|
||||||
"description": "Client for APM App Store",
|
"description": "Client for APM App Store",
|
||||||
"author": "elysia-best <elysia-best@simplelinux.cn.eu.org>",
|
"author": "elysia-best <elysia-best@simplelinux.cn.eu.org>",
|
||||||
|
|||||||
Reference in New Issue
Block a user