From 1219dd8f9e8659e868e411b5bd1e21f45c129e89 Mon Sep 17 00:00:00 2001 From: PatricCunhaforWork <53937674+PatricCunhaforWork@users.noreply.github.com> Date: Wed, 2 Mar 2022 03:55:57 +0000 Subject: [PATCH] Add silent option for uninstaller (#1690) * Add /S option for unattended uninstall * Add email to contributors --- CONTRIBUTORS | 1 + qt/bundle/win/anki.template.nsi | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index adb8fdcc1..56f2ea18a 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -96,6 +96,7 @@ Araceli Yanez Sam Bradshaw gnnoh Sachin Govind +Patric Cunha ******************** diff --git a/qt/bundle/win/anki.template.nsi b/qt/bundle/win/anki.template.nsi index db414b943..54f6f9e17 100644 --- a/qt/bundle/win/anki.template.nsi +++ b/qt/bundle/win/anki.template.nsi @@ -179,7 +179,7 @@ SectionEnd ; end the section ; Uninstaller function un.onInit - MessageBox MB_OKCANCEL "This will remove Anki's program files, but will not delete your card data. If you wish to delete your card data as well, you can do so via File>Switch Profile inside Anki first. Are you sure you wish to uninstall Anki?" IDOK next + MessageBox MB_OKCANCEL "This will remove Anki's program files, but will not delete your card data. If you wish to delete your card data as well, you can do so via File>Switch Profile inside Anki first. Are you sure you wish to uninstall Anki?" /SD IDOK IDOK next Quit next: functionEnd