Fix install and update process (final time) (#3922)

This commit is contained in:
Slaviša Arežina
2025-04-17 15:09:07 +02:00
committed by GitHub
parent 85a5bf2a55
commit 3c909cabb6
2 changed files with 9 additions and 18 deletions

View File

@ -51,11 +51,8 @@ function update_script() {
tar -xzf "$temp_file"
cp -rf "GoMFT-${RELEASE}"/* /opt/gomft/
cd /opt/gomft
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
$STD npm install
$STD npm run build
$STD "$HOME"/go/bin/templ generate
export CGO_ENABLED=1
export GOOS=linux