1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/audiobookshelf_ynh.git synced 2024-09-03 18:06:19 +02:00
This commit is contained in:
Thomas 2024-02-11 09:38:03 +01:00 committed by GitHub
parent 8f76175065
commit 96b76172c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 1 deletions

View file

@ -9,3 +9,4 @@ AUDIOBOOKSHELF_GID=__APP__
FFMPEG_PATH=/usr/bin/ffmpeg
FFPROBE_PATH=/usr/bin/ffprobe
SOURCE=local
TONE_PATH=__INSTALL_DIR__/tone

View file

@ -40,6 +40,11 @@ ram.runtime = "50M"
sha256 = "3e813c5c0bd3e7e1e616a9097247b0696f3d3d289ec55729bd6c6115442abd87"
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"
[resources.system_user]
[resources.install_dir]

View file

@ -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"