Close Whisperfish before updating
I had a look at how the button in the settings page closes Whisperfish, checked that it does it gracefrully (we reach the "Shut down" message) and thought of a way to make that happen from outside. The natural path was DBus.
- Create a new DBus method
quit()which callsQt.quit() - Move argument parsing the first thing in
main()to prevent migrating a running instance - Make
%postscript close try to close Whisperfish - Delete unused notification