#!/bin/bash set -e cd "$(dirname "$0")" echo "Building frontend..." make build echo "Building Go binary..." make build-go echo "Installing binary..." cp bin/webterm ~/go/bin/webterm echo "Restarting service..." systemctl --user restart webterm.service echo "Done. Status:" systemctl --user status webterm.service --no-pager