DT-658 Add quit-on-close option (Core22)
requested to merge sergio-costas/gnome-software:DT-658-add-window-detection-to-the-snap-store-core22 into snap-store-41-core22
This MR adds a new command line option, --quit-on-close, that closes the Snap Store if it is in the background, or waits until the user closes the window if it was open.
This will be useful to ensure that the snap store can be updated without the user having to manually kill it.
Edited by Sergio Costas