去除界面优化

This commit is contained in:
2026-03-15 17:00:58 +08:00
parent 74b1f65ab1
commit 6729e321a6
15 changed files with 141 additions and 227 deletions

View File

@@ -251,8 +251,7 @@ ipcMain.on("queue-install", async (event, download_json) => {
type: "info",
title: "APM 安装成功",
message: "恭喜您APM 已成功安装",
detail:
"APM 应用需重启后方可展示和使用,若完成安装后无法在应用列表中展示,请重启电脑后继续。",
detail: "APM 应用需重启后方可展示和使用,若完成安装后无法在应用列表中展示,请重启电脑后继续。",
buttons: ["确定"],
defaultId: 0,
});
@@ -671,6 +670,7 @@ ipcMain.handle("list-upgradable", async () => {
return { success: true, apps };
});
// eslint-disable-next-line @typescript-eslint/no-explicit-any
ipcMain.handle("uninstall-installed", async (_event, payload: any) => {
const pkgname = typeof payload === "string" ? payload : payload.pkgname;

View File

@@ -136,4 +136,4 @@ export function sendTelemetryOnce(storeVersion: string): void {
.catch((err) => {
logger.warn({ err }, "Telemetry request failed");
});
}
}