feat: 现在仅在有任务时才会到托盘

This commit is contained in:
Elysia
2026-01-31 20:13:05 +08:00
parent eeefe5295b
commit 92d1573cf0
2 changed files with 10 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ type InstallTask = {
const SHELL_CALLER_PATH = '/opt/apm-store/extras/shell-caller.sh';
const tasks = new Map<number, InstallTask>();
export const tasks = new Map<number, InstallTask>();
let idle = true; // Indicates if the installation manager is idle