diff --git a/README.md b/README.md index 8b6b615..91511c9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -31,7 +31,7 @@ Audiobookshelf is a self-hosted audiobook server for managing and playing your a * Chromecast support on the web app * Fetch metadata and cover art from several sources -**Shipped version:** 2.7.2~ynh1 +**Shipped version:** 2.8.0~ynh1 ## Screenshots @@ -57,4 +57,4 @@ or sudo yunohost app upgrade audiobookshelf -u https://github.com/YunoHost-Apps/audiobookshelf_ynh/tree/testing --debug ``` -**More info regarding app packaging:** +**More info regarding app packaging:** \ No newline at end of file diff --git a/README_fr.md b/README_fr.md index 53d506b..29089a6 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,5 +1,5 @@ @@ -31,7 +31,7 @@ Audiobookshelf est un serveur auto-hébergé pour gérer et lire vos livres audi * Support de Chromecast dans la webapp * Récupération des métadonnées et des pochettes depuis plusieurs sources -**Version incluse :** 2.7.2~ynh1 +**Version incluse :** 2.8.0~ynh1 ## Captures d’écran diff --git a/conf/.env b/conf/.env index 39b2eb6..70c672b 100644 --- a/conf/.env +++ b/conf/.env @@ -9,3 +9,4 @@ AUDIOBOOKSHELF_GID=__APP__ FFMPEG_PATH=/usr/bin/ffmpeg FFPROBE_PATH=/usr/bin/ffprobe SOURCE=local +TONE_PATH=__INSTALL_DIR__/tone diff --git a/manifest.toml b/manifest.toml index e726e1d..1237da9 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Audiobookshelf" description.en = "Audiobook server for managing and playing your audiobooks" description.fr = "Serveur de livres audio pour gérer et lire vos livres audio" -version = "2.7.2~ynh1" +version = "2.8.0~ynh1" maintainers = ["Navan Chauhan"] @@ -36,10 +36,16 @@ ram.runtime = "50M" [resources] [resources.sources] [resources.sources.main] - url = "https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.7.2.tar.gz" - sha256 = "3e813c5c0bd3e7e1e616a9097247b0696f3d3d289ec55729bd6c6115442abd87" + url = "https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.8.0.tar.gz" + sha256 = "bbe6b96a791aa11ab91369bdfc82b1984650a5e026c676df6faaaf0ab84510ed" autoupdate.strategy = "latest_github_tag" + [resources.sources.tone] + url = "https://github.com/sandreas/tone/releases/download/v0.1.5/tone-0.1.5-linux-x64.tar.gz" + sha256 = "29c197b21c6e36a3b889ebd6bb1fbdd2c95e489ac6508d010adcf6f69ab8ceba" + autoupdate.strategy = "latest_github_release" + autoupdate.upstream = "https://github.com/sandreas/tone" + [resources.system_user] [resources.install_dir] diff --git a/scripts/install b/scripts/install index cd64e0a..bb24d31 100755 --- a/scripts/install +++ b/scripts/install @@ -25,7 +25,8 @@ ynh_npm install --global npm@7.21.1 ynh_script_progression --message="Setting up source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir" +ynh_setup_source --dest_dir="$install_dir" --source_id="main" +ynh_setup_source --dest_dir="$install_dir" --source_id="tone" chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index 66248a8..f16b070 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -18,7 +18,6 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version # Upgrade NPM ynh_npm install --global npm@7.21.1 - #================================================= # CHECK VERSION #================================================= @@ -64,6 +63,7 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --keep=".env" + ynh_setup_source --dest_dir="$install_dir" --source_id="tone" fi chmod 750 "$install_dir"