From 9a259298f91dac706ae3dd7460a6d8359476d7c7 Mon Sep 17 00:00:00 2001 From: Tomoyuki Hata <7702653+hata6502@users.noreply.github.com> Date: Sat, 27 May 2023 15:41:00 +0900 Subject: [PATCH] uploadQueue.on(idle, setTrayMenu) --- package.json | 2 +- src/main/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f6dd5f7..99f1a85 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gyazemon", - "version": "1.3.1", + "version": "1.3.2", "private": true, "description": "Watch directory and upload to Gyazo for Ubuntu and Windows. ", "homepage": "https://github.com/hata6502/gyazemon", diff --git a/src/main/index.ts b/src/main/index.ts index 820e3ec..612b32f 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -138,6 +138,7 @@ import { Watch, WatchV2, toWatchlistV2 } from "../watch-list"; setTrayMenu(); uploadQueue.on("add", setTrayMenu); uploadQueue.on("next", setTrayMenu); + uploadQueue.on("idle", setTrayMenu); const watchlist = toWatchlistV2( ((await store.get("watchlist")) ?? []) as Watch[]