Improved metrics for updating application (#5607)

This commit is contained in:
Janne Savolainen authored and GitHub committed 2022-06-16 09:05:00 -04:00
1 parent 7b0521f3b2
commit 5c049ecca0
15 files changed
+373 -32

No files matched your search

@@ -71,9 +71,10 @@ const applicationMenuItemsInjectable = getInjectable({
},
...ignoreIf(!updatingIsEnabled, [
{
id: "check-for-updates",
label: "Check for updates",
click() {
processCheckingForUpdates().then(() => showApplicationWindow());
processCheckingForUpdates("application-menu").then(() => showApplicationWindow());
},
},
]),
@@ -285,7 +286,7 @@ const applicationMenuItemsInjectable = getInjectable({
{
label: "Check for updates",
click() {
processCheckingForUpdates().then(() =>
processCheckingForUpdates("periodic").then(() =>
showApplicationWindow(),
);
},