diff --git a/manifest.toml b/manifest.toml index 68f0158..754eb87 100644 --- a/manifest.toml +++ b/manifest.toml @@ -83,8 +83,7 @@ ram.runtime = "1024M" [resources.sources.main] url = "https://github.com/matrix-org/matrix-appservice-irc/archive/refs/tags/1.0.1.tar.gz" sha256 = "ac58ca1e7ed1a496b0ec69cd7079f67c2e3ad5007f24bdacd63fc992cc442ce3" - autoupdate.strategy = "latest_github_release" - autoupdate.asset = "*.tar.gz" + autoupdate.strategy = "latest_github_tag" [resources.system_user] home = "/opt/yunohost/__APP__" diff --git a/scripts/install b/scripts/install index 22ccba4..7500bd4 100755 --- a/scripts/install +++ b/scripts/install @@ -114,9 +114,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/$app.log" --line_match="Error: No IRC servers specified." -ynh_print_warn "The bridge is successfully configured but non working yet!" -ynh_print_warn "You need to edit the file $install_dir/config.yaml to add IRC networks." - #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/restore b/scripts/restore index c3bf14c..4a8b836 100755 --- a/scripts/restore +++ b/scripts/restore @@ -15,6 +15,14 @@ server_name=$(ynh_app_setting_get --app=$app --key=server_name) synapse_db_name="matrix_$synapse_instance" bot_synapse_db_user="@$botname:$server_name" +#================================================= +# INSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Installing NodeJS..." --weight=1 + +ynh_install_nodejs --nodejs_version=$nodejs_version +ynh_use_nodejs + #================================================= # RESTORE THE APP MAIN DIR #=================================================