1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreddit_ynh.git synced 2024-09-03 19:36:05 +02:00

Merge pull request #38 from YunoHost-Apps/testing

Update manifest.toml
This commit is contained in:
Éric Gaspar 2023-03-09 19:49:49 +01:00 committed by GitHub
commit c0946e5d1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 11 deletions

View file

@ -26,7 +26,7 @@ Libreddit is a portmanteau of "libre" (meaning freedom) and "Reddit". It is a pr
- Strong Content Security Policy prevents browser requests to Reddit - Strong Content Security Policy prevents browser requests to Reddit
**Shipped version:** 0.30.0~ynh1 **Shipped version:** 0.30.0~ynh2
**Demo:** https://libreddit.spike.codes/ **Demo:** https://libreddit.spike.codes/

View file

@ -26,7 +26,7 @@ Libreddit is a portmanteau of "libre" (meaning freedom) and "Reddit". It is a pr
- Strong Content Security Policy prevents browser requests to Reddit - Strong Content Security Policy prevents browser requests to Reddit
**Version incluse :** 0.30.0~ynh1 **Version incluse :** 0.30.0~ynh2
**Démo :** https://libreddit.spike.codes/ **Démo :** https://libreddit.spike.codes/

View file

@ -1,6 +0,0 @@
SOURCE_URL=https://github.com/spikecodes/libreddit/releases/download/v0.30.0/libreddit
SOURCE_SUM=46f7424d963af88428c7863010c8a20d6c5791b6425495abe6439a4838d65427
SOURCE_SUM_PRG=sha256sum
SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=libreddit
SOURCE_EXTRACT=false

View file

@ -5,7 +5,7 @@ name = "Libreddit"
description.en = "Libre alternative to Reddit" description.en = "Libre alternative to Reddit"
description.fr = "Alternative libre à Reddit" description.fr = "Alternative libre à Reddit"
version = "0.30.0~ynh1" version = "0.30.0~ynh2"
maintainers = ["eric_G"] maintainers = ["eric_G"]
@ -16,7 +16,7 @@ demo = "https://libreddit.spike.codes/"
code = "https://github.com/spikecodes/libreddit" code = "https://github.com/spikecodes/libreddit"
[integration] [integration]
yunohost = ">= 11.1.13" yunohost = ">= 11.1.14"
architectures = ["amd64"] architectures = ["amd64"]
multi_instance = true multi_instance = true
ldap = false ldap = false
@ -44,3 +44,11 @@ ram.runtime = "50M"
[resources.permissions] [resources.permissions]
main.url = "/" main.url = "/"
[resources.sources]
[resources.sources.main]
url = "https://github.com/spikecodes/libreddit/releases/download/v0.30.0/libreddit"
sha256 = "46f7424d963af88428c7863010c8a20d6c5791b6425495abe6439a4838d65427"
extract = false
in_subdir = false
rename = "libreddit"

View file

@ -23,7 +23,7 @@ chmod +x $install_dir/libreddit
#================================================= #=================================================
# SYSTEM CONFIGURATION # SYSTEM CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Adding system configurations related to $app ..." --weight=1 ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
# Create a dedicated NGINX config # Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config