From 2f0bff4e422609a4f70ef9f0665279808af281bf Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 23 Jun 2025 13:44:49 +0200 Subject: [PATCH] changed trilium github repo (#5390) --- ct/trilium.sh | 2 +- frontend/public/json/trilium.json | 2 +- install/trilium-install.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ct/trilium.sh b/ct/trilium.sh index dbb37cf84..76e66dc0b 100644 --- a/ct/trilium.sh +++ b/ct/trilium.sh @@ -52,7 +52,7 @@ function update_script() { cp -r "${DB_PATH}" /opt/trilium_backup/ rm -rf /opt/trilium cd /tmp - curl -fsSL "https://github.com/TriliumNext/Notes/releases/download/v${RELEASE}/TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz" -o "TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz" + curl -fsSL "https://github.com/TriliumNext/trilium/releases/download/v${RELEASE}/TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz" -o "TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz" tar -xf "TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz" mv "TriliumNextNotes-Server-${RELEASE}-linux-x64" /opt/trilium diff --git a/frontend/public/json/trilium.json b/frontend/public/json/trilium.json index 3efbee29f..44ca9e740 100644 --- a/frontend/public/json/trilium.json +++ b/frontend/public/json/trilium.json @@ -10,7 +10,7 @@ "privileged": false, "interface_port": 8080, "documentation": "https://triliumnext.github.io/Docs/", - "website": "https://github.com/TriliumNext/Notes", + "website": "https://github.com/TriliumNext/trilium", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/triliumnext.webp", "config_path": "/root/trilium-data/config.ini", "description": "TriliumNext is an newer Fork of Trilium. TriliumNext is an open-source note-taking and personal knowledge management application. It allows users to organize and manage their notes, ideas, and information in a single place, using a hierarchical tree-like structure. Trilium offers a range of features, including rich text formatting, links, images, and attachments, making it easy to create and structure notes. The software is designed to be flexible and customizable, with a range of customization options and plugins available, including themes, export options, and more. Trilium is a self-hosted solution, and can be run on a local machine or a cloud-based server, providing users with full control over their notes and information.", diff --git a/install/trilium-install.sh b/install/trilium-install.sh index c744f2a5b..22e473cce 100644 --- a/install/trilium-install.sh +++ b/install/trilium-install.sh @@ -15,8 +15,8 @@ update_os msg_info "Setup TriliumNext" cd /opt -RELEASE=$(curl -fsSL https://api.github.com/repos/TriliumNext/Notes/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -curl -fsSL "https://github.com/TriliumNext/Notes/releases/download/v${RELEASE}/TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz" -o "TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz" +RELEASE=$(curl -fsSL https://api.github.com/repos/TriliumNext/trilium/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') +curl -fsSL "https://github.com/TriliumNext/trilium/releases/download/v${RELEASE}/TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz" -o "TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz" tar -xf TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz mv TriliumNextNotes-Server-$RELEASE-linux-x64 /opt/trilium echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"