mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 01:10:16 +08:00
fix: 修复应用还没有安装完,按钮就重新变成可安装状态 (#11)
fix:先用比较简单的方案解决安装之后卸载了还是显示已安装的问题 fix: 在安装成功的ipc信息之后再删除安装队列的任务 删除pnpm workspace
This commit is contained in:
@@ -4,7 +4,7 @@ import readline from 'node:readline';
|
||||
import { promisify } from 'node:util';
|
||||
import pino from 'pino';
|
||||
|
||||
import { InstalledAppInfo } from '../../typedefinition';
|
||||
import { ChannelPayload, InstalledAppInfo } from '../../typedefinition';
|
||||
|
||||
const logger = pino({ 'name': 'install-manager' });
|
||||
|
||||
@@ -333,7 +333,7 @@ ipcMain.on('remove-installed', async (_event, pkgname: string) => {
|
||||
time: Date.now(),
|
||||
exitCode: code,
|
||||
message: JSON.stringify(messageJSONObj)
|
||||
});
|
||||
} satisfies ChannelPayload);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user