Add silent option for uninstaller (#1690)

* Add /S option for unattended uninstall

* Add email to contributors
This commit is contained in:
PatricCunhaforWork 2022-03-02 03:55:57 +00:00 committed by GitHub
parent 6ae24652e5
commit 1219dd8f9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -96,6 +96,7 @@ Araceli Yanez <github.com/aracelix>
Sam Bradshaw <samjr.bradshaw@gmail.com>
gnnoh <gerongfenh@gmail.com>
Sachin Govind <sachin.govind.too@gmail.com>
Patric Cunha <patricc@agap2.pt>
********************

View file

@ -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