timings icon indicating copy to clipboard operation
timings copied to clipboard

Implemented detection of outdated or not

Open darbyjack opened this issue 4 years ago • 1 comments

This is the first time I've used React, I know this isn't clean.

If someone who is good in JS would like to clean it up / make some changes, I'd be more than grateful.

darbyjack avatar Apr 12 '20 06:04 darbyjack

I have made the changes I think you asked for. If I missed something, I apologize. I noticed a flaw in the initial attempt where it would only set the latest stuff if they didn't have it cached. Now it's split up to

  1. Check if the regex matches
  2. Check if they have latest build number cached and use that
  3. Get latest build if it's not cached
  4. If on latest or not, set the flags

darbyjack avatar May 15 '20 22:05 darbyjack