From f295cb18bab616f826de432d83c6cf0e6c1b1975 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 15 Apr 2024 04:42:59 +0200 Subject: [PATCH] fix default matrix server substitution in the config panel --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 9501279..c30d401 100644 --- a/scripts/config +++ b/scripts/config @@ -32,7 +32,7 @@ get__default_matrix_server() { set__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="=\"matrix.org\"" --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" }