arch-update icon indicating copy to clipboard operation
arch-update copied to clipboard

Remember last automatic check date

Open franglais125 opened this issue 7 years ago • 1 comments

At the moment, if a user sets the automatic check interval to something like "24 hours", and the session only lasts a few hours, the check will never take place, as it restarts with the session. If the last check date is stored, then it can be used to set the interval for the automatic check.

In case you'd like to implement it, I implemented this for the apt-based extension here: https://github.com/franglais125/apt-update-indicator/commit/c3b7ce600cf4f80d384d720bde235792442c791e . A PR won't work, but from there it is pretty easy to see how it was done. If you have suggestions on how to improve it, I'd definitely be interested!

Cheers!

franglais125 avatar Jan 27 '17 21:01 franglais125

I'd say it's a minor issue, as a test is done automatically at session start. But heh why not, I'll check this.

RaphaelRochet avatar Jan 27 '17 23:01 RaphaelRochet