Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Check for updates / auto-update #21

Open
czekaj opened this issue Apr 27, 2016 · 4 comments
Open

Check for updates / auto-update #21

czekaj opened this issue Apr 27, 2016 · 4 comments

Comments

@czekaj
Copy link

czekaj commented Apr 27, 2016

It would be great if Security Growler was periodically checking for updates and maybe even automatically updated itself.

@pirate
Copy link
Owner

pirate commented Apr 28, 2016

The easiest way to do this without moving away from Platypus would be to add a new menubar item that downloads the most recent version and replaces the app while keeping settings.py intact.

Rough pseudocode:

# Check if more recent version is available

curl https://github.com/pirate/security-growler/raw/master/Security%20Growler.app.zip > "/Applications/New-Security Growler.app"
# OR
curl https://github.com/pirate/security-growler/raw/master/Security%20Growler%20Light.app.zip > "/Applications/New-Security Growler Light.app"

cp "/Applications/Security Growler*.app/Contents/Resources/settings.py" "/Applications/New-Security Growler*.app/Contents/Resources/settings.py"
mv "/Applications/Security Growler*.app" ~/.Trash/
mv "/Applications/New-Security Growler*.app" > "/Applications/Security Growler.app"
open "/Applications/Security Growler.app"
exit 0

@pirate pirate modified the milestone: v3.0 May 2, 2016
@BenjaminHCCarr
Copy link

a hack around this is my homebrew-cask package
brew cask install homebrew-cask

I would avoid things like sparkle or autoupdating; warnings are great, but I don't want a security application updating without my explicit permission.

@pirate
Copy link
Owner

pirate commented Nov 9, 2016

@BenjaminHCCarr really? I usually prefer my security application auto-update, so that I get security patches fast (noisily of course, I don't want them doing it silently in the background). I was thinking sparkle, with auto-updating turned off by default could be a good compromise.

@pirate
Copy link
Owner

pirate commented Dec 19, 2016

FYI as a temporary helper, v2.3 has a new menu item called "Check for updates", which just takes you to the releases page so you can manually see if a new version is available. It's not a full solution since it's manual, but it makes it easier for now.
screen shot 2016-12-19 at 4 59 54 pm

@pirate pirate moved this from Backlog to Long-Term Backlog in Development May 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development
Long-Term Backlog
Development

No branches or pull requests

3 participants