feat(app): add download count display

This commit is contained in:
Elysia
2026-02-14 23:22:41 +08:00
parent 5ac9376200
commit a3f18bb593
4 changed files with 33 additions and 6 deletions

View File

@@ -74,7 +74,7 @@ export const handleInstall = () => {
headers: {
"Content-Type": "application/json",
},
}
},
)
.then((response) => {
logger.info("下载次数统计已发送,状态:", response.data);
@@ -146,7 +146,7 @@ window.ipcRenderer.on(
if (downloadObj) {
downloadObj.progress = payload.progress;
}
}
},
);
window.ipcRenderer.on("install-log", (_event, log: InstallLog) => {