From 1816b0169ee5c83590e8978f411a0f2bfb569628 Mon Sep 17 00:00:00 2001 From: miausalvaje <96383524+miausalvaje@users.noreply.github.com> Date: Tue, 20 Jan 2026 13:24:32 +0100 Subject: [PATCH] DiscoPanel: add go for update build process (#10991) * Refactor Go installation and DiscoPanel build process Updated the Go installation process and modified the build command for DiscoPanel. Also updated the systemd service configuration to include Go in the PATH. * Using setup_go Using setup_go instead of a manual installation. --- ct/discopanel.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ct/discopanel.sh b/ct/discopanel.sh index 8825a9610..26e18735a 100644 --- a/ct/discopanel.sh +++ b/ct/discopanel.sh @@ -54,9 +54,14 @@ function update_script() { cd /opt/discopanel/web/discopanel $STD npm install $STD npm run build + msg_ok "Built Web Interface" + + setup_go + + msg_info "Building DiscoPanel" cd /opt/discopanel $STD go build -o discopanel cmd/discopanel/main.go - msg_ok "Setup DiscoPanel" + msg_ok "Built DiscoPanel" msg_info "Restoring Data" mkdir -p /opt/discopanel/data