use branch flag

This commit is contained in:
shocknet-justin 2025-08-30 23:39:26 -04:00
parent 25fb4da988
commit 3cfb6dfe37

View file

@ -14,9 +14,6 @@ log() {
SCRIPT_VERSION="0.2.0"
REPO="shocknet/Lightning.Pub"
BRANCH="master"
BASE_URL="https://raw.githubusercontent.com/${REPO}/${BRANCH}"
REPO_URL="https://github.com/${REPO}/tarball/${BRANCH}"
SCRIPTS_URL="${BASE_URL}/scripts/"
cleanup() {
log "Cleaning up temporary files..."
@ -55,6 +52,10 @@ while [[ $# -gt 0 ]]; do
esac
done
BASE_URL="https://raw.githubusercontent.com/${REPO}/${BRANCH}"
REPO_URL="https://github.com/${REPO}/tarball/${BRANCH}"
SCRIPTS_URL="${BASE_URL}/scripts/"
# Create user-space temp directory
mkdir -p "$HOME/lightning_pub_tmp"