From b08126e06ef97c1c23a56254e6c2a51b1c23b62e Mon Sep 17 00:00:00 2001 From: pdmarf <135653545+pdmarf@users.noreply.github.com> Date: Wed, 7 Oct 2026 18:36:51 +0100 Subject: [PATCH] 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. --- com.pdma.notion-timer.sdPlugin/bin/plugin.js | 4 +++- .../bin/plugin.js.sig | 2 +- notion-timer.streamDeckPlugin | Bin 102109 -> 102150 bytes src/plugin.ts | 8 +++++++- version.json | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/com.pdma.notion-timer.sdPlugin/bin/plugin.js b/com.pdma.notion-timer.sdPlugin/bin/plugin.js index 527ef3e..93cf41c 100644 --- a/com.pdma.notion-timer.sdPlugin/bin/plugin.js +++ b/com.pdma.notion-timer.sdPlugin/bin/plugin.js @@ -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: diff --git a/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig b/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig index 201043b..a5d7e25 100644 --- a/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig +++ b/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig @@ -1 +1 @@ -Ž0Æ8½/�$¤!Ó`¶A½k 5xå-s` ï>{8M’u}I¦:jCñ‘åq´E±Çêÿ;'}•)\<1÷c� \ No newline at end of file +eIÎÑõÖ‚ý}†î¥ÙpÁO¹qrt´¶¡M[¡ù©™z¦ËÓQéÙLí�½®8BŠ-œQªfaküg6Ý5 \ No newline at end of file diff --git a/notion-timer.streamDeckPlugin b/notion-timer.streamDeckPlugin index ff984f37b2112a017f0de83735a2f75f0d221e73..0a3652e7fa7275d85577751b520f80ca9aba3177 100644 GIT binary patch delta 538 zcmcaRm#u9c+lKYVf-|PL$4=e+uFrvifdPaKCU0a{n%rZ;JNdmaCzC<*
VCpuTp*-ih_{qd@b
zz4d&x^Jn7U*17+kH6_!|GcHxU)oOp4+nm_VpO0SuzVF9>#?84;!