Add Papra app metadata and update install script

Added papra.json with metadata for the Papra document management system. Updated papra-install.sh to use the new papra-hq GitHub repository for cloning and release retrieval.
This commit is contained in:
CanbiZ
2025-12-30 14:21:16 +01:00
parent ce7ae6fb4e
commit 9b78733f66
2 changed files with 58 additions and 2 deletions

View File

@@ -25,8 +25,8 @@ NODE_VERSION="24" setup_nodejs
msg_info "Cloning Papra Repository"
cd /opt
RELEASE=$(curl -s https://api.github.com/repos/CorentinTh/papra/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}')
$STD git clone --depth=1 --branch ${RELEASE} https://github.com/CorentinTh/papra.git
RELEASE=$(curl -s https://api.github.com/repos/papra-hq/papra/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}')
$STD git clone --depth=1 --branch ${RELEASE} https://github.com/papra-hq/papra.git
cd papra
msg_ok "Cloned Papra Repository"