add config panel

This commit is contained in:
Éric Gaspar
2024-11-07 09:26:42 +01:00
parent 8e5ef1a4b3
commit e50cf3a545
4 changed files with 86 additions and 3 deletions

View File

@ -3,6 +3,22 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# INITIALIZE AND STORE SETTINGS
#=================================================
custom_title="Send"
ynh_app_setting_set --key=custom_title --value="$custom_title"
custom_description="Encrypt and send files with a link that automatically expires to ensure your important documents dont stay online forever."
ynh_app_setting_set --key=custom_description --value="$custom_description"
max_file_size="2684354560"
ynh_app_setting_set --key=cmax_file_size --value="$max_file_size"
max_download="100"
ynh_app_setting_set --key=max_download --value="$max_download"
#=================================================
# INSTALL DEPENDENCIES
#=================================================