mirror of
https://github.com/YunoHost-Apps/fluffychat_ynh.git
synced 2024-09-03 18:36:04 +02:00
Merge pull request #24 from YunoHost-Apps/testing
This commit is contained in:
commit
80c7c273d2
7 changed files with 11 additions and 9 deletions
|
@ -20,7 +20,7 @@ FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)]
|
|||
The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone.
|
||||
|
||||
|
||||
**Shipped version:** 1.19.1~ynh1
|
||||
**Shipped version:** 1.19.2~ynh1
|
||||
|
||||
**Demo:** <https://fluffychat.im/web>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)]
|
|||
The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone.
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 1.19.1~ynh1
|
||||
**Paketatutako bertsioa:** 1.19.2~ynh1
|
||||
|
||||
**Demoa:** <https://fluffychat.im/web>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ FluffyChat est un client [[matrix](https://matrix.org)] open-source, à but non
|
|||
Le but de cette app est de créer un client de messagerie instantannée facile d'utilisation, open-source et accessible pour tout le monde.
|
||||
|
||||
|
||||
**Version incluse :** 1.19.1~ynh1
|
||||
**Version incluse :** 1.19.2~ynh1
|
||||
|
||||
**Démo :** <https://fluffychat.im/web>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)]
|
|||
The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone.
|
||||
|
||||
|
||||
**Versión proporcionada:** 1.19.1~ynh1
|
||||
**Versión proporcionada:** 1.19.2~ynh1
|
||||
|
||||
**Demo:** <https://fluffychat.im/web>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)]
|
|||
The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone.
|
||||
|
||||
|
||||
**分发版本:** 1.19.1~ynh1
|
||||
**分发版本:** 1.19.2~ynh1
|
||||
|
||||
**演示:** <https://fluffychat.im/web>
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ name = "Fluffychat"
|
|||
description.en = "Matrix messenger client"
|
||||
description.fr = "Client de messagerie Matrix"
|
||||
|
||||
version = "1.19.1~ynh1"
|
||||
version = "1.19.2~ynh1"
|
||||
|
||||
maintainers = [ "OniriCorpe" ]
|
||||
|
||||
|
@ -56,8 +56,8 @@ ram.runtime = "50M"
|
|||
[resources]
|
||||
[resources.sources]
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/krille-chan/fluffychat/releases/download/v1.19.1/fluffychat-web.tar.gz"
|
||||
sha256 = "f952c465ebf0278d38b39b7c135b6dd125e34094c77005e3ec4b5ca4dc65783e"
|
||||
url = "https://github.com/krille-chan/fluffychat/releases/download/v1.19.2/fluffychat-web.tar.gz"
|
||||
sha256 = "6114f55a82360e4693fa2beed8d0bdc13c8dd706dfd136fa3babff9d957d0192"
|
||||
in_subdir = 2
|
||||
|
||||
autoupdate.asset = "fluffychat-web.tar.gz"
|
||||
|
|
|
@ -31,8 +31,10 @@ get__default_matrix_server() {
|
|||
|
||||
set__default_matrix_server() {
|
||||
|
||||
old_value=${old[default_matrix_server]}
|
||||
|
||||
# patching main.dart.js to replace the default matrix server
|
||||
ynh_replace_string --match_string="\$\.cmx=\".*\"" --replace_string="\$\.cmx=\"$default_matrix_server\"" --target_file="$install_dir/main.dart.js"
|
||||
ynh_replace_string --match_string="=\"$old_value\"" --replace_string="=\"$default_matrix_server\"" --target_file="$install_dir/main.dart.js"
|
||||
|
||||
ynh_app_setting_set --app="$app" --key=default_matrix_server --value="$default_matrix_server"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue