Files
stream_deck_notion_timer/install.sh

16 lines
457 B
Bash

#!/bin/bash
set -e
GITEA="http://100.120.125.113:3000"
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."