1
0
Fork 0
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:
OniriCorpe 2024-04-15 05:14:19 +02:00 committed by GitHub
commit 80c7c273d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 11 additions and 9 deletions

View file

@ -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. 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> **Demo:** <https://fluffychat.im/web>

View file

@ -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. 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> **Demoa:** <https://fluffychat.im/web>

View file

@ -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. 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> **Démo:** <https://fluffychat.im/web>

View file

@ -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. 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> **Demo:** <https://fluffychat.im/web>

View file

@ -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. 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> **演示:** <https://fluffychat.im/web>

View file

@ -7,7 +7,7 @@ name = "Fluffychat"
description.en = "Matrix messenger client" description.en = "Matrix messenger client"
description.fr = "Client de messagerie Matrix" description.fr = "Client de messagerie Matrix"
version = "1.19.1~ynh1" version = "1.19.2~ynh1"
maintainers = [ "OniriCorpe" ] maintainers = [ "OniriCorpe" ]
@ -56,8 +56,8 @@ ram.runtime = "50M"
[resources] [resources]
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/krille-chan/fluffychat/releases/download/v1.19.1/fluffychat-web.tar.gz" url = "https://github.com/krille-chan/fluffychat/releases/download/v1.19.2/fluffychat-web.tar.gz"
sha256 = "f952c465ebf0278d38b39b7c135b6dd125e34094c77005e3ec4b5ca4dc65783e" sha256 = "6114f55a82360e4693fa2beed8d0bdc13c8dd706dfd136fa3babff9d957d0192"
in_subdir = 2 in_subdir = 2
autoupdate.asset = "fluffychat-web.tar.gz" autoupdate.asset = "fluffychat-web.tar.gz"

View file

@ -31,8 +31,10 @@ get__default_matrix_server() {
set__default_matrix_server() { set__default_matrix_server() {
old_value=${old[default_matrix_server]}
# patching main.dart.js to replace the 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" ynh_app_setting_set --app="$app" --key=default_matrix_server --value="$default_matrix_server"
} }