From 5c069ea5e33d687838cbfb569a0cbed17d21cb6b Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Fri, 30 Dec 2022 14:52:43 -0800 Subject: [PATCH 1/2] Update factory reset message https://github.com/OpenVoiceOS/ovos-PHAL-plugin-system/pull/11 --- mycroft/res/ui/settings/factory_settings.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mycroft/res/ui/settings/factory_settings.qml b/mycroft/res/ui/settings/factory_settings.qml index 269f4ef84f3b..e4a16b8f2434 100644 --- a/mycroft/res/ui/settings/factory_settings.qml +++ b/mycroft/res/ui/settings/factory_settings.qml @@ -92,7 +92,7 @@ Item { onClicked: { Mycroft.SoundEffects.playClickedSound(Qt.resolvedUrl("../../snd/clicked.wav")) - Mycroft.MycroftController.sendRequest("system.factory.reset.register", {"wipe_cache": true, "wipe_data": false, "wipe_logs": false, "wipe_config": false, "reset_hardware": false}) + Mycroft.MycroftController.sendRequest("system.factory.reset", {"wipe_cache": true, "wipe_data": false, "wipe_logs": false, "wipe_config": false, "reset_hardware": false}) } onPressed: { From 7552777d29acee9b3348de7f55f5040bf6dfc7f5 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Fri, 30 Dec 2022 15:13:45 -0800 Subject: [PATCH 2/2] Update all of the factory reset messages --- mycroft/res/ui/settings/factory_settings.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mycroft/res/ui/settings/factory_settings.qml b/mycroft/res/ui/settings/factory_settings.qml index e4a16b8f2434..d0db14619bed 100644 --- a/mycroft/res/ui/settings/factory_settings.qml +++ b/mycroft/res/ui/settings/factory_settings.qml @@ -126,7 +126,7 @@ Item { onClicked: { Mycroft.SoundEffects.playClickedSound(Qt.resolvedUrl("../../snd/clicked.wav")) - Mycroft.MycroftController.sendRequest("system.factory.reset.register", {"wipe_cache": false, "wipe_data": false, "wipe_logs": false, "wipe_config": true, "reset_hardware": false}) + Mycroft.MycroftController.sendRequest("system.factory.reset", {"wipe_cache": false, "wipe_data": false, "wipe_logs": false, "wipe_config": true, "reset_hardware": false}) } onPressed: { @@ -161,7 +161,7 @@ Item { onClicked: { Mycroft.SoundEffects.playClickedSound(Qt.resolvedUrl("../../snd/clicked.wav")) - Mycroft.MycroftController.sendRequest("system.factory.reset.register", {"wipe_cache": false, "wipe_data": true, "wipe_logs": false, "wipe_config": false, "reset_hardware": false}) + Mycroft.MycroftController.sendRequest("system.factory.reset", {"wipe_cache": false, "wipe_data": true, "wipe_logs": false, "wipe_config": false, "reset_hardware": false}) } onPressed: { @@ -195,7 +195,7 @@ Item { onClicked: { Mycroft.SoundEffects.playClickedSound(Qt.resolvedUrl("../../snd/clicked.wav")) - Mycroft.MycroftController.sendRequest("system.factory.reset.register", {"wipe_cache": false, "wipe_data": false, "wipe_logs": true, "wipe_config": false, "reset_hardware": false}) + Mycroft.MycroftController.sendRequest("system.factory.reset", {"wipe_cache": false, "wipe_data": false, "wipe_logs": true, "wipe_config": false, "reset_hardware": false}) } onPressed: { @@ -230,7 +230,7 @@ Item { onClicked: { Mycroft.SoundEffects.playClickedSound(Qt.resolvedUrl("../../snd/clicked.wav")) - Mycroft.MycroftController.sendRequest("system.factory.reset.register", {"wipe_cache": true, "wipe_data": true, "wipe_logs": true, "wipe_config": true, "reset_hardware": true}) + Mycroft.MycroftController.sendRequest("system.factory.reset", {"wipe_cache": true, "wipe_data": true, "wipe_logs": true, "wipe_config": true, "reset_hardware": true}) } onPressed: {