fix: Open Steamify from the notification starts the app (own scope), the same way it was last used (app or terminal)

This commit is contained in:
theupriser committed 2026-09-27 15:54:26 +02:00
1 parent cf73229756
commit 572417bd7b
4 files changed
+25 -9

No files matched your search

+5 -2
View File
@@ -19,8 +19,11 @@ notify_status() {
notify_seen() {
# Every run records its version: the notifier compares the newest
# release with it, so opening Steamify ends a reminder.
notify_status && state_set notify seen "$VERSION"
# release with it, so opening Steamify ends a reminder. Also whether it
# was the app or the terminal menu: the notification opens the same.
notify_status || return 0
state_set notify seen "$VERSION"
if [[ "$BACKEND" == true ]]; then state_set notify frontend app; else state_set notify frontend terminal; fi
}
notify_enable() {