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<*AvXQyV_62xo0pha zFJTni{NM&RPyHnG1G~-7Z~wMEQhVR$s`}q==Wma@wE14`_sH|J+c=~JqmEWTmRej9 zD$M+`CSd!TQ>#K1R(|`wZ{K8_xxH)$8m|~m={@ChY~#%zkGO^3c$U^ooF?+p)1_`v zVCpuTp*-ih_{qd@b zz4d&x^Jn7U*17+kH6_!|GcHxU)oOp4+nm_VpO0SuzVF9>#?84;!Hzxh&>3v;{)=bl$PG8u@s5m*`IqUR~U5rjlUl0P5d7lYR z&*^4#V6u4*Q^i019!P-Ca=JnfV=?pLa>nV5m5i#>@02qNPe0cKl;W+NF3`(Z&Kz0= nmQt9$s+ZB9`DP7N;oLq({^ld za{f5+Y2g;vjmKa8w`NnXovImQWB5IJ!UDbkZ)UJL91I}q58nDKzGDLeLr@ztgARiX zLvntuUO`Ik8Zryxd^>0#*>B;lwmY+2K9KQR0;C{8#S^ks4 zZ@Mn@n=)7M`R+G0AHVKp*Z)@!^2zjbU5pZ&H$Aml!T}4->0de-{h4MoO;_w@l;uV7 zkr&TbrPM7LtbYeP<5SVQCOmO checkForUpdates(), 10_000); +setInterval(() => checkForUpdates(), UPDATE_CHECK_INTERVAL_MS); diff --git a/version.json b/version.json index 2b52579..8350478 100644 --- a/version.json +++ b/version.json @@ -1 +1 @@ -{ "version": "1.0.55" } +{ "version": "1.0.56" }