From c9d6f7ae554d3a5f8dacc3854ed95cc26e27c56f Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 16 Feb 2026 11:09:39 +0100 Subject: [PATCH] Update ente-install.sh --- install/ente-install.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/install/ente-install.sh b/install/ente-install.sh index e1b9298e7..a9bb1f36d 100644 --- a/install/ente-install.sh +++ b/install/ente-install.sh @@ -30,14 +30,18 @@ RUST_CRATES="wasm-pack" setup_rust $STD rustup target add wasm32-unknown-unknown -ENTE_CLI_VERSION=$(curl -s https://api.github.com/repos/ente-io/ente/releases | jq -r '[.[] | select(.tag_name | startswith("cli-v"))][0].tag_name') fetch_and_deploy_gh_release "ente-server" "ente-io/ente" "tarball" "latest" "/opt/ente" -fetch_and_deploy_gh_release "ente-cli" "ente-io/ente" "prebuild" "$ENTE_CLI_VERSION" "/usr/local/bin" "ente-$ENTE_CLI_VERSION-linux-amd64.tar.gz" -$STD mkdir -p /opt/ente/cli +msg_info "Building Ente CLI" +cd /opt/ente/cli +$STD go build -o /usr/local/bin/ente . +chmod +x /usr/local/bin/ente +msg_ok "Built Ente CLI" + +$STD mkdir -p /opt/ente/cli-config msg_info "Configuring Ente CLI" cat <>~/.bashrc -export ENTE_CLI_SECRETS_PATH=/opt/ente/cli/secrets.txt +export ENTE_CLI_SECRETS_PATH=/opt/ente/cli-config/secrets.txt export PATH="/usr/local/bin:$PATH" EOF $STD source ~/.bashrc