Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Sam Heinz
2025-04-21 22:01:05 +10:00
90 changed files with 1748 additions and 868 deletions
+3 -6
View File
@@ -50,12 +50,9 @@ function update_script() {
curl -fsSL "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file"
tar -xzf "$temp_file"
cp -rf "GoMFT-${RELEASE}"/* /opt/gomft/
cd /opt/gomft || exit
rm -rf /opt/gomft/node_modules
$STD npm ci
$STD node build.js
$STD go mod download
$STD go get -u github.com/a-h/templ
cd /opt/gomft
$STD npm install
$STD npm run build
$STD "$HOME"/go/bin/templ generate
export CGO_ENABLED=1
export GOOS=linux