mirror of
https://github.com/YunoHost-Apps/audiobookshelf_ynh.git
synced 2024-09-03 18:06:19 +02:00
add tone
This commit is contained in:
parent
8f76175065
commit
96b76172c0
3 changed files with 8 additions and 1 deletions
|
@ -9,3 +9,4 @@ AUDIOBOOKSHELF_GID=__APP__
|
||||||
FFMPEG_PATH=/usr/bin/ffmpeg
|
FFMPEG_PATH=/usr/bin/ffmpeg
|
||||||
FFPROBE_PATH=/usr/bin/ffprobe
|
FFPROBE_PATH=/usr/bin/ffprobe
|
||||||
SOURCE=local
|
SOURCE=local
|
||||||
|
TONE_PATH=__INSTALL_DIR__/tone
|
||||||
|
|
|
@ -40,6 +40,11 @@ ram.runtime = "50M"
|
||||||
sha256 = "3e813c5c0bd3e7e1e616a9097247b0696f3d3d289ec55729bd6c6115442abd87"
|
sha256 = "3e813c5c0bd3e7e1e616a9097247b0696f3d3d289ec55729bd6c6115442abd87"
|
||||||
autoupdate.strategy = "latest_github_tag"
|
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.system_user]
|
||||||
|
|
||||||
[resources.install_dir]
|
[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
|
ynh_script_progression --message="Setting up source files..." --weight=1
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# 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 750 "$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue