Danny Lin
95f25fde97
download: Get latest build from last match instead of sorting
...
This fails for 12L: SP2A.220305.013.A3 < SQ1D.220205.004. Google always
adds builds to the bottom anyway, so just pick the last matched URL.
2022-04-04 15:47:01 -04:00
Danny Lin
2449ecaf88
Revert "Switch to triple-equals for comparisons"
...
This reverts commit 3053c87158312e2052cb3a79db15d3914c0e87dc.
We should've done this earlier, but the code is too dependent on == for
null and undefined. Fix it later.
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
2022-04-04 15:47:01 -04:00
Danny Lin
21932f36e3
Switch to triple-equals for comparisons
...
Triple-equals (===) is still useful with TypeScript.
2022-04-04 15:47:01 -04:00
Danny Lin
b46f80935a
Apply automatic fixes for eslint issues
2021-12-25 02:05:25 -08:00
Danny Lin
5a371055b2
Reformat all code with Prettier
2021-12-25 02:05:23 -08:00
Danny Lin
860c21c077
images: firmware: Accept extracted factory images
2021-12-18 16:08:24 -08:00
Danny Lin
3709639fb7
download: Simplify cookies
2021-12-17 20:13:13 -08:00
Danny Lin
ab2c1e72ba
images: download: Cache index pages
2021-12-17 14:33:07 -08:00
Danny Lin
cd86042e75
images: download: Add support for factory images and OTAs
2021-12-17 14:20:38 -08:00
Danny Lin
fbf3fc532e
firmware: Fix unzipit import
2021-11-28 22:28:07 -08:00
Danny Lin
53520850f9
Use ES module interop for all default imports
2021-11-28 18:28:05 -08:00
Danny Lin
7726c33d8f
Rename factory to images
...
This does more than just factory images.
2021-11-11 18:36:18 -08:00