16 lines
456 B
Bash
16 lines
456 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
GITEA="https://gitea.pdmarf.co.uk"
|
|
REPO="pdm/stream_deck_notion_timer"
|
|
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}"
|
|
|
|
echo "Installing — Stream Deck will open automatically..."
|
|
open "${PLUGIN_FILE}"
|
|
|
|
echo "Done. Click a timer button to configure your Notion credentials."
|