mirror of
https://github.com/YunoHost-Apps/digitranscode_ynh.git
synced 2024-09-03 18:25:59 +02:00
commit
16cb7dfe95
8 changed files with 12 additions and 22 deletions
|
@ -19,7 +19,7 @@ It shall NOT be edited by hand.
|
|||
Digitranscode is a simple application to convert audio and video files thanks to FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
|
||||
|
||||
|
||||
**Shipped version:** 0.2.0~ynh1
|
||||
**Shipped version:** 0.2.0~ynh2
|
||||
|
||||
**Demo:** <https://ladigitale.dev/digitranscode/>
|
||||
## Documentation and resources
|
||||
|
|
|
@ -19,7 +19,7 @@ No se debe editar a mano.
|
|||
Digitranscode is a simple application to convert audio and video files thanks to FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
|
||||
|
||||
|
||||
**Versión actual:** 0.2.0~ynh1
|
||||
**Versión actual:** 0.2.0~ynh2
|
||||
|
||||
**Demo:** <https://ladigitale.dev/digitranscode/>
|
||||
## Documentaciones y recursos
|
||||
|
|
|
@ -19,7 +19,7 @@ EZ editatu eskuz.
|
|||
Digitranscode is a simple application to convert audio and video files thanks to FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 0.2.0~ynh1
|
||||
**Paketatutako bertsioa:** 0.2.0~ynh2
|
||||
|
||||
**Demoa:** <https://ladigitale.dev/digitranscode/>
|
||||
## Dokumentazioa eta baliabideak
|
||||
|
|
|
@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
|
|||
Digitranscode est une application simple pour convertir des fichiers audio et des vidéos grâce à FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
|
||||
|
||||
|
||||
**Version incluse :** 0.2.0~ynh1
|
||||
**Version incluse :** 0.2.0~ynh2
|
||||
|
||||
**Démo :** <https://ladigitale.dev/digitranscode/>
|
||||
## Documentations et ressources
|
||||
|
|
|
@ -19,7 +19,7 @@ NON debe editarse manualmente.
|
|||
Digitranscode is a simple application to convert audio and video files thanks to FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
|
||||
|
||||
|
||||
**Versión proporcionada:** 0.2.0~ynh1
|
||||
**Versión proporcionada:** 0.2.0~ynh2
|
||||
|
||||
**Demo:** <https://ladigitale.dev/digitranscode/>
|
||||
## Documentación e recursos
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
Digitranscode is a simple application to convert audio and video files thanks to FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
|
||||
|
||||
|
||||
**分发版本:** 0.2.0~ynh1
|
||||
**分发版本:** 0.2.0~ynh2
|
||||
|
||||
**演示:** <https://ladigitale.dev/digitranscode/>
|
||||
## 文档与资源
|
||||
|
|
|
@ -4,10 +4,10 @@ packaging_format = 2
|
|||
|
||||
id = "digitranscode"
|
||||
name = "Digitranscode"
|
||||
description.en = "an online app that can convert audio files and video files into different formats."
|
||||
description.fr = "Une application en ligne qui permet de convertir des fichiers audio et des vidéos en différents formats."
|
||||
description.en = "Online converter of audio files and videos into different formats"
|
||||
description.fr = "Convertisseur en ligne de fichiers audio et vidéos en différents formats"
|
||||
|
||||
version = "0.2.0~ynh1"
|
||||
version = "0.2.0~ynh2"
|
||||
|
||||
maintainers = ["Pierre-Amiel Giraud"]
|
||||
|
||||
|
@ -48,7 +48,7 @@ ram.runtime = "5M"
|
|||
[resources]
|
||||
[resources.sources.main]
|
||||
url = "https://codeberg.org/ladigitale/digitranscode/archive/0.2.0.tar.gz"
|
||||
sha256 = "d9cae0a3c9bf121f831527bc93c9f3689901e47d563ef6927f1b0f418f6a1957"
|
||||
sha256 = "fa774e15cbad792f5a2fd207cd7f501613b7e9e8b19a30a5bf5386a7ad6a1488"
|
||||
autoupdate.strategy = "latest_forgejo_release"
|
||||
|
||||
[resources.system_user]
|
||||
|
|
|
@ -9,12 +9,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
#=================================================
|
||||
# STANDARD UPGRADE STEPS
|
||||
#=================================================
|
||||
|
@ -25,13 +19,9 @@ ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
|||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
fi
|
||||
ynh_setup_source --dest_dir="$install_dir" --full_replace=1
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue