v1.0.60: revert recurring 30-min update check, keep 10s-after-launch only

Per Pete: staff Macs restart Stream Deck/the plugin process often enough
that the one-shot 10s-post-launch check is sufficient; the periodic
recheck was unwanted complexity.
This commit is contained in:
pdmarf
2026-10-07 18:44:14 +01:00
parent 08019e3c5c
commit 6575f7a1e6
5 changed files with 3 additions and 17 deletions
+1 -6
View File
@@ -6438,7 +6438,7 @@ async function stopTimer(token, entryId) {
}
// src/plugin.ts
var CURRENT_VERSION = "1.0.59";
var CURRENT_VERSION = "1.0.60";
var GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/stable-rebuild";
var SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4=
@@ -6761,16 +6761,11 @@ plugin_default.ui.onSendToPlugin(async (ev) => {
await checkForUpdates(send);
}
});
var UPDATE_CHECK_INTERVAL_MS = 30 * 60 * 1e3;
plugin_default.connect();
setTimeout(() => {
plugin_default.logger.info("Running initial (10s post-launch) update check");
checkForUpdates();
}, 1e4);
setInterval(() => {
plugin_default.logger.info("Running scheduled (30min) update check");
checkForUpdates();
}, UPDATE_CHECK_INTERVAL_MS);
/*! Bundled license information:
@elgato/schemas/dist/streamdeck/plugins/index.mjs:
Binary file not shown.