Skip to content

Close Whisperfish before updating

Matti Viljanen requested to merge close-whisperfish-on-update into master

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 calls Qt.quit()
  • Move argument parsing the first thing in main() to prevent migrating a running instance
  • Make %post script close try to close Whisperfish
  • Delete unused notification

Merge request reports