#!/usr/bin/env bash # ══════════════════════════════════════════════════════════════════ # run-STPViewer.sh 範本(Git Bash on Windows) # # 第一次 clone 下來: # cd secret # cp run-STPViewer.sh.example run-STPViewer.sh # chmod +x run-STPViewer.sh # ./run-STPViewer.sh # # secret/ 下除 README.md 和 .example 外皆已 gitignore。 # ══════════════════════════════════════════════════════════════════ set -euo pipefail # ─── secret(本專案目前無 DB / ApiKey;未來需要時在此 export) ──── # export SomeService__ApiKey="__CHANGE_ME__" # ══════════════════════════════════════════════════════════════════ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)" cd "${REPO_ROOT}" exec dotnet run --project src/STPViewer