DomT4 / homebrew-autoupdate

:tropical_drink: An easy, convenient way to automatically update Homebrew.
BSD 2-Clause "Simplified" License
968 stars 54 forks source link

Reordered notifier message components #120

Closed smitt14ua closed 5 months ago

smitt14ua commented 8 months ago

This pull request resolves the problem when full list of updated packages was trimmed.

First one - new version, second - old.

Diff inside notifier/notifier.scpt

try
    set tailLog to do shell script "/usr/bin/tail -r ~/Library/Logs/com.github.domt4.homebrew-autoupdate/*.out | grep -Ev 'with brew outdated' | grep -E -m1 'taps|date'"
on error
    set tailLog to "Logs not found; cannot show summary!"
end try

try
-   display notification "Homebrew has been updated" with title "brew-autoupdate" subtitle tailLog sound name "Submarine"
+   display notification tailLog with title "Homebrew has been updated" subtitle "brew-autoupdate" sound name "Submarine"
    delay 2
end try
github-actions[bot] commented 7 months ago

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] commented 6 months ago

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

smitt14ua commented 6 months ago

Is there a way to avoid regenerating the applet here? Would prefer to do that locally as I've always generated & codesigned the applet myself and whilst I'm sure not many people are checking would prefer to keep doing that ideally.

Hi. Yes. I left the code of applet in description, you are free to generate locally

github-actions[bot] commented 5 months ago

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

DomT4 commented 5 months ago

Relax robot. Will set aside some time tomorrow to review again.

github-actions[bot] commented 5 months ago

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

DomT4 commented 5 months ago

Pulled your initial commit into https://github.com/Homebrew/homebrew-autoupdate/pull/131.