mirror of
https://github.com/YunoHost-Apps/fluffychat_ynh.git
synced 2024-09-03 18:36:04 +02:00
fix default matrix server substitution in the config panel
This commit is contained in:
parent
5169e3b392
commit
f295cb18ba
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ get__default_matrix_server() {
|
||||||
set__default_matrix_server() {
|
set__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="=\"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"
|
ynh_app_setting_set --app="$app" --key=default_matrix_server --value="$default_matrix_server"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue