mirror of
https://github.com/YunoHost-Apps/trilium_ynh.git
synced 2024-10-01 13:34:49 +02:00
Upgrade to version 0.46.8
This commit is contained in:
parent
ee41044ec0
commit
a368d6d110
6 changed files with 17 additions and 7 deletions
|
@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
## Overview
|
## Overview
|
||||||
Trilium Notes is an Evernote-like hierechical note taking application with many advanced features, focused on building a large personal knowledge base.
|
Trilium Notes is an Evernote-like hierechical note taking application with many advanced features, focused on building a large personal knowledge base.
|
||||||
|
|
||||||
**Shipped version:** 0.46.7
|
**Shipped version:** 0.46.8
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install
|
||||||
## Vue d'ensemble
|
## Vue d'ensemble
|
||||||
Trilium Notes est une application de prise de note hiérarchique semblable a Evernote, avec maintes fonctions avancées, centrée sur la constuction d'une large base de connsaissances personelle.
|
Trilium Notes est une application de prise de note hiérarchique semblable a Evernote, avec maintes fonctions avancées, centrée sur la constuction d'une large base de connsaissances personelle.
|
||||||
|
|
||||||
**Version incluse :** 0.46.7
|
**Version incluse :** 0.46.8
|
||||||
|
|
||||||
## Captures d'écran
|
## Captures d'écran
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
SOURCE_URL=https://github.com/zadam/trilium/archive/refs/tags/v0.46.7.tar.gz
|
SOURCE_URL=https://github.com/zadam/trilium/archive/refs/tags/v0.46.8.tar.gz
|
||||||
SOURCE_SUM=623987b4bdd09963a1647946acd27ffcb0fd2324f2dfb5015ffe2cda4b20d3db
|
SOURCE_SUM=da6535b1fa690037e2d768e06dd87d46d6ff7a1651b667c24e89541a2f98ec2d
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
SOURCE_FILENAME=v0.46.6.tar.gz
|
SOURCE_FILENAME=v0.46.8.tar.gz
|
||||||
SOURCE_EXTRACT=true
|
SOURCE_EXTRACT=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "A hierarchical note taking application with focus on building large personal knowledge base",
|
"en": "A hierarchical note taking application with focus on building large personal knowledge base",
|
||||||
"fr": "Une application de prise de note hiérarchique centrée sur la constuction d'une large base de connsaissances personelle"
|
"fr": "Une application de prise de note hiérarchique centrée sur la constuction d'une large base de connsaissances personelle"
|
||||||
},
|
},
|
||||||
"version": "0.46.7~ynh1",
|
"version": "0.46.8~ynh1",
|
||||||
"url": "https://github.com/zadam/trilium",
|
"url": "https://github.com/zadam/trilium",
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -11,11 +11,14 @@ pkg_dependencies="nodejs npm libpng16-16 libpng-dev pkg-config autoconf libtool
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
function build_node_app {
|
function set_node_vars {
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=10
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=10
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
node_PATH=$nodejs_path:$(sudo -u $app sh -c 'echo $PATH')
|
node_PATH=$nodejs_path:$(sudo -u $app sh -c 'echo $PATH')
|
||||||
|
}
|
||||||
|
|
||||||
|
function build_node_app {
|
||||||
|
set_node_vars
|
||||||
pushd $final_path || ynh_die
|
pushd $final_path || ynh_die
|
||||||
chown -R $app:$app $final_path
|
chown -R $app:$app $final_path
|
||||||
sudo -u $app touch $final_path/.yarnrc
|
sudo -u $app touch $final_path/.yarnrc
|
||||||
|
|
|
@ -94,6 +94,13 @@ ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ st
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=10
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=10
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# REINSTALL DEPENDENCIES
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Restoring Node.js installation..." --weight=1
|
||||||
|
|
||||||
|
set_node_vars
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE SYSTEMD
|
# RESTORE SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue