We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2cdf6a commit 6387b34Copy full SHA for 6387b34
src/hooks/updates.js
@@ -30,7 +30,11 @@ export const disabled = settings.register({
30
category: 'Updates',
31
});
32
33
-const silent = settings.register();
+const silent = settings.register({
34
+ name: 'Run automatic updates in the background',
35
+ key: 'underscript.updates.silent',
36
+ category: 'Updates',
37
+});
38
39
const frequency = settings.register({
40
// TODO: translation
@@ -218,7 +222,7 @@ menu.addButton({
218
222
219
223
eventManager.on(':update', (auto) => {
220
224
toast?.close();
221
- // if (auto) return;
225
+ if (auto && silent.value()) return;
226
227
notify('Checking for updates. Please wait.');
228
0 commit comments