v1.0.56: recheck for updates every 30 minutes, not just once at startup
The auto-updater used a one-shot setTimeout, so a version pushed after the initial 10s post-launch check would sit unapplied until Stream Deck restarted or someone hit the manual Check for Updates button.
This commit is contained in:
@@ -6438,7 +6438,7 @@ async function stopTimer(token, entryId) {
|
||||
}
|
||||
|
||||
// src/plugin.ts
|
||||
var CURRENT_VERSION = "1.0.55";
|
||||
var CURRENT_VERSION = "1.0.56";
|
||||
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=
|
||||
@@ -6756,8 +6756,10 @@ plugin_default.ui.onSendToPlugin(async (ev) => {
|
||||
await checkForUpdates(send);
|
||||
}
|
||||
});
|
||||
var UPDATE_CHECK_INTERVAL_MS = 30 * 60 * 1e3;
|
||||
plugin_default.connect();
|
||||
setTimeout(() => checkForUpdates(), 1e4);
|
||||
setInterval(() => checkForUpdates(), UPDATE_CHECK_INTERVAL_MS);
|
||||
/*! Bundled license information:
|
||||
|
||||
@elgato/schemas/dist/streamdeck/plugins/index.mjs:
|
||||
|
||||
Reference in New Issue
Block a user