v1.0.24: stable-rebuild from v1.0.14 + reload fix
Base: v1.0.14 (last known good before icon changes). Added: PI reloads automatically after API token is saved on fresh install so onPropertyInspectorDidAppear re-fires with the token in place, fixing the chicken-and-egg setup flow. Versioned above master (1.0.22) so auto-updater leaves it alone. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6438,7 +6438,7 @@ async function stopTimer(token, entryId) {
|
||||
}
|
||||
|
||||
// src/plugin.ts
|
||||
var CURRENT_VERSION = "1.0.14";
|
||||
var CURRENT_VERSION = "1.0.24";
|
||||
var GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/master";
|
||||
var SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
|
||||
MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4=
|
||||
|
||||
Binary file not shown.
@@ -172,6 +172,9 @@
|
||||
};
|
||||
$PI.setGlobalSettings(creds);
|
||||
setCredStatus("Credentials saved.", "ok");
|
||||
if (creds.notionToken && !creds.userId) {
|
||||
setTimeout(function() { location.reload(); }, 300);
|
||||
}
|
||||
}
|
||||
|
||||
function populateUsers(users, savedUserId) {
|
||||
|
||||
@@ -7,7 +7,7 @@ TMP_DIR=$(mktemp -d)
|
||||
PLUGIN_FILE="${TMP_DIR}/notion-timer.streamDeckPlugin"
|
||||
|
||||
echo "Downloading Notion Timer..."
|
||||
curl -sL "${GITEA}/${REPO}/raw/branch/master/notion-timer.streamDeckPlugin" -o "${PLUGIN_FILE}"
|
||||
curl -sL "${GITEA}/${REPO}/raw/branch/stable-rebuild/notion-timer.streamDeckPlugin" -o "${PLUGIN_FILE}"
|
||||
|
||||
echo "Installing — Stream Deck will open automatically..."
|
||||
open "${PLUGIN_FILE}"
|
||||
|
||||
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
const CURRENT_VERSION = "1.0.14";
|
||||
const CURRENT_VERSION = "1.0.24";
|
||||
const GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/master";
|
||||
const SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
|
||||
MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4=
|
||||
|
||||
Reference in New Issue
Block a user