diff --git a/README.md b/README.md index 38f57f8..2a14402 100644 --- a/README.md +++ b/README.md @@ -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:** diff --git a/README_eu.md b/README_eu.md index 33b0af9..ac9963b 100644 --- a/README_eu.md +++ b/README_eu.md @@ -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:** diff --git a/README_fr.md b/README_fr.md index 8752183..6091802 100644 --- a/README_fr.md +++ b/README_fr.md @@ -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 :** diff --git a/README_gl.md b/README_gl.md index c64e9a1..a200e67 100644 --- a/README_gl.md +++ b/README_gl.md @@ -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:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 80f4e59..f983ba9 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -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 **演示:** diff --git a/manifest.toml b/manifest.toml index 6699a40..6d075b5 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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" diff --git a/scripts/config b/scripts/config index 9501279..b3fd972 100644 --- a/scripts/config +++ b/scripts/config @@ -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" }