diff --git a/com.pdma.notion-timer.sdPlugin/bin/plugin.js b/com.pdma.notion-timer.sdPlugin/bin/plugin.js index 7ed249e..2afefe2 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.46"; +var CURRENT_VERSION = "1.0.47"; 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= @@ -6512,6 +6512,7 @@ async function checkForUpdates(sendStatus) { } fs3.writeFileSync(__filename, newCode); plugin_default.logger.info(`Updated to ${version}, restarting\u2026`); + sendStatus?.(`Updated to v${version} \u2014 restarting\u2026`); process.exit(0); } catch (err) { const msg = err instanceof Error ? err.message : String(err); @@ -6734,6 +6735,7 @@ plugin_default.ui.onSendToPlugin(async (ev) => { } }); plugin_default.connect(); +sendProjectsToPI(); setTimeout(() => checkForUpdates(), 1e4); /*! Bundled license information: diff --git a/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig b/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig index 0b3f985..47555a5 100644 --- a/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig +++ b/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig @@ -1 +1,3 @@ -%ÔC¹K$ñh­¸O×Ù~…‘cc¨'cwMá�¸þÀ›¸\ÞÝAä¨�ty"0|ÉiîbRö»/Îå„/¡ \ No newline at end of file + ·ìÅ8ñÓ ‡áØ9QÃÀ>¥,™d4üû^å'É0'}Á` +H"�U·¼X +^|~’^¯£+¦õ§p \ No newline at end of file diff --git a/notion-timer.streamDeckPlugin b/notion-timer.streamDeckPlugin index 58010aa..0d07542 100644 Binary files a/notion-timer.streamDeckPlugin and b/notion-timer.streamDeckPlugin differ diff --git a/src/plugin.ts b/src/plugin.ts index 6d18d42..d1c0fcf 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -1,4 +1,4 @@ -const CURRENT_VERSION = "1.0.46"; +const CURRENT_VERSION = "1.0.47"; const GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/stable-rebuild"; const SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4= @@ -73,6 +73,7 @@ async function checkForUpdates(sendStatus?: (msg: string) => void): Promise checkForUpdates(), 10_000); diff --git a/version.json b/version.json index 03c4c7f..08f6104 100644 --- a/version.json +++ b/version.json @@ -1 +1 @@ -{ "version": "1.0.46" } +{ "version": "1.0.47" }