GoMFT: Update Curl Path (#3537)

* GoMFT: Update Curl Path

* Update gomft.sh
This commit is contained in:
CanbiZ
2025-03-31 17:39:51 +02:00
committed by GitHub
parent 0f5c9dfe42
commit b8c5691803
2 changed files with 4 additions and 4 deletions

View File

@ -47,9 +47,9 @@ function update_script() {
msg_info "Updating $APP to ${RELEASE}"
rm -f /opt/gomft/gomft
temp_file=$(mktemp)
curl -fsSL "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v.${RELEASE}.tar.gz" -o $temp_file
curl -fsSL "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v${RELEASE}.tar.gz" -o $temp_file
tar -xzf $temp_file
cp -rf GoMFT-v.${RELEASE}/* /opt/gomft
cp -rf GoMFT-${RELEASE}/* /opt/gomft
cd /opt/gomft
rm -f /opt/gomft/node_modules
$STD npm ci