mirror of
https://github.com/YunoHost-Apps/audiobookshelf_ynh.git
synced 2024-09-03 18:06:19 +02:00
commit
f6764a17a7
4 changed files with 8 additions and 2 deletions
|
@ -9,3 +9,4 @@ AUDIOBOOKSHELF_GID=__APP__
|
|||
FFMPEG_PATH=/usr/bin/ffmpeg
|
||||
FFPROBE_PATH=/usr/bin/ffprobe
|
||||
SOURCE=local
|
||||
TONE_PATH=__INSTALL_DIR__/tone
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue