mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2025-09-18 01:42:57 +02:00
Compare commits
4 Commits
add-config
...
config-pan
Author | SHA1 | Date | |
---|---|---|---|
a474597df4 | |||
3fe0658b44 | |||
d480b66a3c | |||
da45bb7075 |
@ -7,6 +7,5 @@
|
|||||||
- [Le o README en galego](README_gl.md)
|
- [Le o README en galego](README_gl.md)
|
||||||
- [Baca README dalam bahasa bahasa Indonesia](README_id.md)
|
- [Baca README dalam bahasa bahasa Indonesia](README_id.md)
|
||||||
- [Lees de README in het Nederlands](README_nl.md)
|
- [Lees de README in het Nederlands](README_nl.md)
|
||||||
- [Przeczytaj README w języku polski](README_pl.md)
|
|
||||||
- [Прочитать README на русский](README_ru.md)
|
- [Прочитать README на русский](README_ru.md)
|
||||||
- [阅读中文(简体)的 README](README_zh_Hans.md)
|
- [阅读中文(简体)的 README](README_zh_Hans.md)
|
||||||
|
@ -5,9 +5,7 @@ It shall NOT be edited by hand.
|
|||||||
|
|
||||||
# Send for YunoHost
|
# Send for YunoHost
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/send/)
|
[](https://ci-apps.yunohost.org/ci/apps/send/)  
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=send)
|
[](https://install-app.yunohost.org/?app=send)
|
||||||
|
|
||||||
@ -22,7 +20,7 @@ A fork of Mozilla's Firefox Send. Mozilla discontinued Send, this fork is a comm
|
|||||||
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 3.4.23~ynh6
|
**Shipped version:** 3.4.23~ynh5
|
||||||
|
|
||||||
**Demo:** <https://send.vis.ee/>
|
**Demo:** <https://send.vis.ee/>
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@ No se debe editar a mano.
|
|||||||
|
|
||||||
# Send para Yunohost
|
# Send para Yunohost
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/send/)
|
[](https://ci-apps.yunohost.org/ci/apps/send/)  
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=send)
|
[](https://install-app.yunohost.org/?app=send)
|
||||||
|
|
||||||
@ -22,7 +20,7 @@ A fork of Mozilla's Firefox Send. Mozilla discontinued Send, this fork is a comm
|
|||||||
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
||||||
|
|
||||||
|
|
||||||
**Versión actual:** 3.4.23~ynh6
|
**Versión actual:** 3.4.23~ynh5
|
||||||
|
|
||||||
**Demo:** <https://send.vis.ee/>
|
**Demo:** <https://send.vis.ee/>
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@ EZ editatu eskuz.
|
|||||||
|
|
||||||
# Send YunoHost-erako
|
# Send YunoHost-erako
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/send/)
|
[](https://ci-apps.yunohost.org/ci/apps/send/)  
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=send)
|
[](https://install-app.yunohost.org/?app=send)
|
||||||
|
|
||||||
@ -22,7 +20,7 @@ A fork of Mozilla's Firefox Send. Mozilla discontinued Send, this fork is a comm
|
|||||||
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
||||||
|
|
||||||
|
|
||||||
**Paketatutako bertsioa:** 3.4.23~ynh6
|
**Paketatutako bertsioa:** 3.4.23~ynh5
|
||||||
|
|
||||||
**Demoa:** <https://send.vis.ee/>
|
**Demoa:** <https://send.vis.ee/>
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@ Il NE doit PAS être modifié à la main.
|
|||||||
|
|
||||||
# Send pour YunoHost
|
# Send pour YunoHost
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/send/)
|
[](https://ci-apps.yunohost.org/ci/apps/send/)  
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=send)
|
[](https://install-app.yunohost.org/?app=send)
|
||||||
|
|
||||||
@ -22,7 +20,7 @@ Un fork du Firefox Send de Mozilla. Mozilla a arrêté Send, et ce fork est un e
|
|||||||
Send est une expérience de partage de fichiers qui permet d'envoyer des fichiers chiffrés à d'autres utilisateurs.
|
Send est une expérience de partage de fichiers qui permet d'envoyer des fichiers chiffrés à d'autres utilisateurs.
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 3.4.23~ynh6
|
**Version incluse :** 3.4.23~ynh5
|
||||||
|
|
||||||
**Démo :** <https://send.vis.ee/>
|
**Démo :** <https://send.vis.ee/>
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@ NON debe editarse manualmente.
|
|||||||
|
|
||||||
# Send para YunoHost
|
# Send para YunoHost
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/send/)
|
[](https://ci-apps.yunohost.org/ci/apps/send/)  
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=send)
|
[](https://install-app.yunohost.org/?app=send)
|
||||||
|
|
||||||
@ -22,7 +20,7 @@ A fork of Mozilla's Firefox Send. Mozilla discontinued Send, this fork is a comm
|
|||||||
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
||||||
|
|
||||||
|
|
||||||
**Versión proporcionada:** 3.4.23~ynh6
|
**Versión proporcionada:** 3.4.23~ynh5
|
||||||
|
|
||||||
**Demo:** <https://send.vis.ee/>
|
**Demo:** <https://send.vis.ee/>
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@ Ini TIDAK boleh diedit dengan tangan.
|
|||||||
|
|
||||||
# Send untuk YunoHost
|
# Send untuk YunoHost
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/send/)
|
[](https://ci-apps.yunohost.org/ci/apps/send/)  
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=send)
|
[](https://install-app.yunohost.org/?app=send)
|
||||||
|
|
||||||
@ -22,7 +20,7 @@ A fork of Mozilla's Firefox Send. Mozilla discontinued Send, this fork is a comm
|
|||||||
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
||||||
|
|
||||||
|
|
||||||
**Versi terkirim:** 3.4.23~ynh6
|
**Versi terkirim:** 3.4.23~ynh5
|
||||||
|
|
||||||
**Demo:** <https://send.vis.ee/>
|
**Demo:** <https://send.vis.ee/>
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@ Hij mag NIET handmatig aangepast worden.
|
|||||||
|
|
||||||
# Send voor Yunohost
|
# Send voor Yunohost
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/send/)
|
[](https://ci-apps.yunohost.org/ci/apps/send/)  
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=send)
|
[](https://install-app.yunohost.org/?app=send)
|
||||||
|
|
||||||
@ -22,7 +20,7 @@ A fork of Mozilla's Firefox Send. Mozilla discontinued Send, this fork is a comm
|
|||||||
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
||||||
|
|
||||||
|
|
||||||
**Geleverde versie:** 3.4.23~ynh6
|
**Geleverde versie:** 3.4.23~ynh5
|
||||||
|
|
||||||
**Demo:** <https://send.vis.ee/>
|
**Demo:** <https://send.vis.ee/>
|
||||||
|
|
||||||
|
52
README_pl.md
52
README_pl.md
@ -1,52 +0,0 @@
|
|||||||
<!--
|
|
||||||
To README zostało automatycznie wygenerowane przez <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
|
||||||
Nie powinno być ono edytowane ręcznie.
|
|
||||||
-->
|
|
||||||
|
|
||||||
# Send dla YunoHost
|
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/send/)
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=send)
|
|
||||||
|
|
||||||
*[Przeczytaj plik README w innym języku.](./ALL_README.md)*
|
|
||||||
|
|
||||||
> *Ta aplikacja pozwala na szybką i prostą instalację Send na serwerze YunoHost.*
|
|
||||||
> *Jeżeli nie masz YunoHost zapoznaj się z [poradnikiem](https://yunohost.org/install) instalacji.*
|
|
||||||
|
|
||||||
## Przegląd
|
|
||||||
|
|
||||||
A fork of Mozilla's Firefox Send. Mozilla discontinued Send, this fork is a community effort to keep the project up-to-date and alive.
|
|
||||||
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
|
||||||
|
|
||||||
|
|
||||||
**Dostarczona wersja:** 3.4.23~ynh6
|
|
||||||
|
|
||||||
**Demo:** <https://send.vis.ee/>
|
|
||||||
|
|
||||||
## Zrzuty ekranu
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## Dokumentacja i zasoby
|
|
||||||
|
|
||||||
- Oficjalna strona aplikacji: <https://send.vis.ee/>
|
|
||||||
- Repozytorium z kodem źródłowym: <https://github.com/timvisee/send>
|
|
||||||
- Sklep YunoHost: <https://apps.yunohost.org/app/send>
|
|
||||||
- Zgłaszanie błędów: <https://github.com/YunoHost-Apps/send_ynh/issues>
|
|
||||||
|
|
||||||
## Informacje od twórców
|
|
||||||
|
|
||||||
Wyślij swój pull request do [gałęzi `testing`](https://github.com/YunoHost-Apps/send_ynh/tree/testing).
|
|
||||||
|
|
||||||
Aby wypróbować gałąź `testing` postępuj zgodnie z instrukcjami:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/send_ynh/tree/testing --debug
|
|
||||||
lub
|
|
||||||
sudo yunohost app upgrade send -u https://github.com/YunoHost-Apps/send_ynh/tree/testing --debug
|
|
||||||
```
|
|
||||||
|
|
||||||
**Więcej informacji o tworzeniu paczek aplikacji:** <https://yunohost.org/packaging_apps>
|
|
@ -5,9 +5,7 @@
|
|||||||
|
|
||||||
# Send для YunoHost
|
# Send для YunoHost
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/send/)
|
[](https://ci-apps.yunohost.org/ci/apps/send/)  
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=send)
|
[](https://install-app.yunohost.org/?app=send)
|
||||||
|
|
||||||
@ -22,7 +20,7 @@ A fork of Mozilla's Firefox Send. Mozilla discontinued Send, this fork is a comm
|
|||||||
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
||||||
|
|
||||||
|
|
||||||
**Поставляемая версия:** 3.4.23~ynh6
|
**Поставляемая версия:** 3.4.23~ynh5
|
||||||
|
|
||||||
**Демо-версия:** <https://send.vis.ee/>
|
**Демо-версия:** <https://send.vis.ee/>
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
|
|
||||||
# YunoHost 上的 Send
|
# YunoHost 上的 Send
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/send/)
|
[](https://ci-apps.yunohost.org/ci/apps/send/)  
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=send)
|
[](https://install-app.yunohost.org/?app=send)
|
||||||
|
|
||||||
@ -22,7 +20,7 @@ A fork of Mozilla's Firefox Send. Mozilla discontinued Send, this fork is a comm
|
|||||||
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
Send is a file sharing experiment which allows you to send encrypted files to other users.
|
||||||
|
|
||||||
|
|
||||||
**分发版本:** 3.4.23~ynh6
|
**分发版本:** 3.4.23~ynh5
|
||||||
|
|
||||||
**演示:** <https://send.vis.ee/>
|
**演示:** <https://send.vis.ee/>
|
||||||
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
// ⚠️ IMPORTANT WARNING: do NOT edit this config file by hand,
|
||||||
|
// else your modifications will be ERASED at each update of the Send package!
|
||||||
|
// Instead, use the config panel in your web admin interface:
|
||||||
|
// Applications ➡️ Send ➡️ Config panel ➡️ do your config edit ➡️ Save
|
||||||
|
// Most of the relevant settings are available in the config panel, if you're
|
||||||
|
// missing one, open an issue: https://github.com/YunoHost-Apps/send_ynh/issues
|
||||||
|
|
||||||
|
|
||||||
const convict = require('convict');
|
const convict = require('convict');
|
||||||
const convict_format_with_validator = require('convict-format-with-validator');
|
const convict_format_with_validator = require('convict-format-with-validator');
|
||||||
const { tmpdir } = require('os');
|
const { tmpdir } = require('os');
|
||||||
@ -74,7 +82,7 @@ const conf = convict({
|
|||||||
},
|
},
|
||||||
max_downloads: {
|
max_downloads: {
|
||||||
format: Number,
|
format: Number,
|
||||||
default: __MAX_DOWNLOADS__,
|
default: 100,
|
||||||
env: 'MAX_DOWNLOADS'
|
env: 'MAX_DOWNLOADS'
|
||||||
},
|
},
|
||||||
max_files_per_archive: {
|
max_files_per_archive: {
|
||||||
@ -155,7 +163,7 @@ const conf = convict({
|
|||||||
},
|
},
|
||||||
max_file_size: {
|
max_file_size: {
|
||||||
format: Number,
|
format: Number,
|
||||||
default: __MAX_FILE_SIZE__ * 1024 * 1024,
|
default: 1024 * 1024 * 1024 * 2.5,
|
||||||
env: 'MAX_FILE_SIZE'
|
env: 'MAX_FILE_SIZE'
|
||||||
},
|
},
|
||||||
l10n_dev: {
|
l10n_dev: {
|
||||||
@ -170,12 +178,12 @@ const conf = convict({
|
|||||||
},
|
},
|
||||||
custom_title: {
|
custom_title: {
|
||||||
format: String,
|
format: String,
|
||||||
default: '__CUSTOM_TITLE__',
|
default: 'Send',
|
||||||
env: 'CUSTOM_TITLE'
|
env: 'CUSTOM_TITLE'
|
||||||
},
|
},
|
||||||
custom_description: {
|
custom_description: {
|
||||||
format: String,
|
format: String,
|
||||||
default: '__CUSTOM_DESCRIPTION__',
|
default: 'Encrypt and send files with a link that automatically expires to ensure your important documents don’t stay online forever.',
|
||||||
env: 'CUSTOM_DESCRIPTION'
|
env: 'CUSTOM_DESCRIPTION'
|
||||||
},
|
},
|
||||||
detect_base_url: {
|
detect_base_url: {
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
version = "1.0"
|
|
||||||
|
|
||||||
[main]
|
|
||||||
name.en = "Send configuration"
|
|
||||||
name.fr = "Configuration de Send"
|
|
||||||
services = ["__APP__"]
|
|
||||||
|
|
||||||
[main.config]
|
|
||||||
name.en = "Configuration Options"
|
|
||||||
name.fr = "Options de configuration"
|
|
||||||
|
|
||||||
[main.config.max_file_size]
|
|
||||||
ask.en = "Max File Size"
|
|
||||||
ask.fr = "Taille maximale du fichier"
|
|
||||||
type = "number"
|
|
||||||
default = "100"
|
|
||||||
help.en = "Choose the maximum file size allowed to send (in Mo)"
|
|
||||||
help.fr = "Choisissez la taille maximale du fichier autorisé à envoyer (en Mo)"
|
|
||||||
bind = "max_file_size:/var/www/__APP__/server/config.js"
|
|
||||||
|
|
||||||
[main.config.max_downloads]
|
|
||||||
ask.en = "Max downloads"
|
|
||||||
ask.fr = "Téléchargements maximal"
|
|
||||||
type = "number"
|
|
||||||
default = "100"
|
|
||||||
help.en = "Define the maximum download limit"
|
|
||||||
help.fr = "Définir la limite maximale du nombre de téléchargement"
|
|
||||||
bind = "max_downloads:/var/www/__APP__/server/config.js"
|
|
||||||
|
|
||||||
[main.config.custom_title]
|
|
||||||
ask.en = "Custom Title"
|
|
||||||
ask.fr = "Titre personnalisé"
|
|
||||||
type = "string"
|
|
||||||
help.en = "Add a custom title for Send"
|
|
||||||
help.fr = "Ajouter un titre personnalisé pour Send"
|
|
||||||
bind = "custom_title:/var/www/__APP__/server/config.js"
|
|
||||||
|
|
||||||
[main.config.custom_description]
|
|
||||||
ask.en = "Custom Description"
|
|
||||||
ask.fr = "Description personnalisée"
|
|
||||||
type = "string"
|
|
||||||
help.en = "Add a custom description for Send"
|
|
||||||
help.fr = "Ajouter une description personnalisée pour Send"
|
|
||||||
bind = "custom_description:/var/www/__APP__/server/config.js"
|
|
1
doc/ADMIN.md
Normal file
1
doc/ADMIN.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
You can edit the Send settings such as the max file size, max downloads or max file expire time in the app configuration panel under your admin YunoHost interface.
|
1
doc/ADMIN_fr.md
Normal file
1
doc/ADMIN_fr.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
Vous pouvez configurer des paramètres tels que les taille de fichier, nombre de téléchargements ou temps d'expiration des fichiers maximums dans le panneau de configuration de l'app dans votre interface d'administration YunoHost.
|
@ -7,7 +7,7 @@ name = "Send"
|
|||||||
description.en = "File sharing which allows to send encrypted files"
|
description.en = "File sharing which allows to send encrypted files"
|
||||||
description.fr = "Partage de fichiers qui permet d'envoyer des fichiers chiffrés"
|
description.fr = "Partage de fichiers qui permet d'envoyer des fichiers chiffrés"
|
||||||
|
|
||||||
version = "3.4.23~ynh6"
|
version = "3.4.23~ynh5"
|
||||||
|
|
||||||
maintainers = []
|
maintainers = []
|
||||||
|
|
||||||
@ -18,13 +18,15 @@ demo = "https://send.vis.ee/"
|
|||||||
code = "https://github.com/timvisee/send"
|
code = "https://github.com/timvisee/send"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 12.0.9"
|
yunohost = ">= 11.2.30"
|
||||||
helpers_version = "2.1"
|
helpers_version = "2.1"
|
||||||
architectures = ["amd64", "arm64", "armhf"]
|
architectures = ["amd64", "arm64", "armhf"]
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
|
|
||||||
ldap = false
|
ldap = false
|
||||||
|
|
||||||
sso = false
|
sso = false
|
||||||
|
|
||||||
disk = "50M"
|
disk = "50M"
|
||||||
ram.build = "1G"
|
ram.build = "1G"
|
||||||
ram.runtime = "50M"
|
ram.runtime = "50M"
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
# COMMON VARIABLES AND CUSTOM HELPERS
|
# COMMON VARIABLES AND CUSTOM HELPERS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
nodejs_version="16"
|
nodejs_version=16
|
||||||
|
@ -22,8 +22,12 @@ ynh_config_change_url_nginx
|
|||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression "Adding $app's configuration..."
|
ynh_script_progression "Adding $app's configuration..."
|
||||||
|
|
||||||
|
domain=$new_domain
|
||||||
ynh_config_add --template="config.js" --destination="$install_dir/server/config.js"
|
ynh_config_add --template="config.js" --destination="$install_dir/server/config.js"
|
||||||
|
|
||||||
|
#chmod 400 "$install_dir/server/config.js"
|
||||||
|
#chown "$app:$app" "$install_dir/server/config.js"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -3,22 +3,6 @@
|
|||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
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."
|
|
||||||
ynh_app_setting_set --key=custom_description --value="$custom_description"
|
|
||||||
|
|
||||||
max_file_size=100
|
|
||||||
ynh_app_setting_set --key=max_file_size --value="$max_file_size"
|
|
||||||
|
|
||||||
max_downloads=100
|
|
||||||
ynh_app_setting_set --key=max_downloads --value="$max_downloads"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL DEPENDENCIES
|
# INSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
@ -64,7 +48,7 @@ ynh_config_add --template="config.js" --destination="$install_dir/server/config.
|
|||||||
#=================================================
|
#=================================================
|
||||||
# BUILD APP
|
# BUILD APP
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression "Building $app... (this will take some time and resources!)"
|
ynh_script_progression "Building app... (this will take some time and resources!)"
|
||||||
|
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
ynh_hide_warnings ynh_exec_as_app npm install
|
ynh_hide_warnings ynh_exec_as_app npm install
|
||||||
|
@ -3,16 +3,6 @@
|
|||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# ENSURE DOWNWARD COMPATIBILITY
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression "Ensuring downward compatibility..."
|
|
||||||
|
|
||||||
ynh_app_setting_set_default --key=custom_title --value="send"
|
|
||||||
ynh_app_setting_set_default --key=custom_description --value="Encrypt and send files with a link that automatically expires."
|
|
||||||
ynh_app_setting_set_default --key=max_file_size --value=100
|
|
||||||
ynh_app_setting_set_default --key=max_downloads --value=100
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STOP SYSTEMD SERVICE
|
# STOP SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
Reference in New Issue
Block a user