Skip to content

Commit

Permalink
fixed readme urls, update consts, fix compiler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Reed committed Sep 10, 2021
1 parent 4a19da1 commit 5f82c60
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 52 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
package-lock.json
package-lock.json
Searching.txt
1 change: 1 addition & 0 deletions Compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class Compiler {
init(){
this.webpack = webpack({
entry: path.join(this.assets, 'index.js'),
context: __dirname,
output: {
path: this.web,
filename: 'main.js',
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Recovery images have a code name associated with them also referred to as the bo

To find your board name visit the website `chrome://version` and find the line labelled **Firmware Version**. It will look something like `Google_Reks.7000.100.100`. Your Chromebook's firmware version is the word after `Google_` and before a period.

![ChromeOS reks version page](version.png)
![ChromeOS reks version page](https://chrome100.dev/version.png)

### Burning the `.zip` file to a USB

Expand Down Expand Up @@ -88,7 +88,7 @@ To find your board name visit the website `chrome://version` and find the line l

| Method | Endpoint |
| - | - |
| `GET` | [/download](/download) |
| `GET` | [https://chrome100.dev/download](/download) |

Search query:

Expand All @@ -107,7 +107,7 @@ Returns a JSON object containing pairs of board names and arrays of chrome versi

| Method | Endpoint |
| - | - |
| `GET` | [/data](/data) |
| `GET` | [https://chrome100.dev/data](/data) |

Response:

Expand Down
2 changes: 1 addition & 1 deletion Sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Sync {
}

if(res.status == 200){
console.log(board, release, url);
console.log('Found DL:', board, release, url);

key_hits[key] = (key_hits[key] || 0) + 1;
sboard.releases[release] = { key, code };
Expand Down
6 changes: 4 additions & 2 deletions consts.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

exports.keys = [0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,19,23,25,17,20,22,30];
exports.keys = [0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,19,23,25,17,20,22,30,16,31];

exports.boards = ["hatch","x86-mario","lumpy","stumpy","daisy","parrot","stout","link","butterfly","peppy","spring","wolf","leon","panther","pit","monroe","skate","clapper","squawks","glimmer","enguarde","expresso","zako","mccloud","quawks","gnawty","kip","swanky","big","tricky","winky","blaze","paine","candy","samus","banjo","jaq","mighty","yuna","jerry","speedy","rikku","tidus","minnie","kitty","guado","lulu","ninja","sumo","orco","gandof","mickey","heli","cyan","celes","terra","ultima","edgar","buddy","chell","sentry","lars","setzer","reks","relm","wizpig","banon","elm","cave","kefka","asuka","kevin","tiger","fievel","hana","pyro","snappy","caroline","reef","bob","sand","eve","coral","fizz","soraka","nautilus","vayne","pantheon","nami","nocturne","grunt","bobba","bobba360","octopus","liara","rammus","scarlet","leona","sarien","shyvana","kukui","jacuzzi","atlas","dedede","drallion","kalista","puff","trogdor","zork"];
exports.boards = ["hatch","x86-mario","lumpy","stumpy","daisy","parrot","stout","link","butterfly","peppy","spring","wolf","leon","panther","pit","monroe","skate","clapper","squawks","glimmer","enguarde","expresso","zako","mccloud","quawks","gnawty","kip","swanky","big","tricky","winky","blaze","paine","candy","samus","banjo","jaq","mighty","yuna","jerry","speedy","rikku","tidus","minnie","kitty","guado","lulu","ninja","sumo","orco","gandof","mickey","heli","cyan","celes","terra","ultima","edgar","buddy","chell","sentry","lars","setzer","reks","relm","wizpig","banon","elm","cave","kefka","asuka","kevin","tiger","fievel","hana","pyro","snappy","caroline","reef","bob","sand","eve","coral","fizz","soraka","nautilus","vayne","pantheon","nami","nocturne","grunt","bobba","bobba360","octopus","liara","rammus","scarlet","leona","sarien","shyvana","kukui","jacuzzi","atlas","dedede","drallion","kalista","puff","trogdor","zork","asurada","volteer"];

exports.versions = {
32: ["4920.83.0"],
Expand Down Expand Up @@ -47,4 +47,6 @@ exports.versions = {
89: ["13729.56.0"],
90: ["13816.82.0","13816.64.0"],
91: ["13904.55.0"],
92: ["13982.88.0"],
// 93: ["ON HOLD"],
};
2 changes: 1 addition & 1 deletion data.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/index.html

Large diffs are not rendered by default.

86 changes: 44 additions & 42 deletions scrape-cros.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,51 +9,53 @@
var exports = {};

// from consts.js
exports.keys = [ 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 23, 25 ];
exports.keys = [0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,19,23,25,17,20,22,30];

exports.boards = ["hatch","x86-mario","lumpy","stumpy","daisy","parrot","stout","link","butterfly","peppy","spring","wolf","leon","panther","pit","monroe","skate","clapper","squawks","glimmer","enguarde","expresso","zako","mccloud","quawks","gnawty","kip","swanky","big","tricky","winky","blaze","paine","candy","samus","banjo","jaq","mighty","yuna","jerry","speedy","rikku","tidus","minnie","kitty","guado","lulu","ninja","sumo","orco","gandof","mickey","heli","cyan","celes","terra","ultima","edgar","buddy","chell","sentry","lars","setzer","reks","relm","wizpig","banon","elm","cave","kefka","asuka","kevin","tiger","fievel","hana","pyro","snappy","caroline","reef","bob","sand","eve","coral","fizz","soraka","nautilus","vayne","pantheon","nami","nocturne","grunt","bobba","bobba360","octopus","liara","rammus","scarlet","leona","sarien","shyvana","kukui","jacuzzi"];
exports.boards = ["hatch","x86-mario","lumpy","stumpy","daisy","parrot","stout","link","butterfly","peppy","spring","wolf","leon","panther","pit","monroe","skate","clapper","squawks","glimmer","enguarde","expresso","zako","mccloud","quawks","gnawty","kip","swanky","big","tricky","winky","blaze","paine","candy","samus","banjo","jaq","mighty","yuna","jerry","speedy","rikku","tidus","minnie","kitty","guado","lulu","ninja","sumo","orco","gandof","mickey","heli","cyan","celes","terra","ultima","edgar","buddy","chell","sentry","lars","setzer","reks","relm","wizpig","banon","elm","cave","kefka","asuka","kevin","tiger","fievel","hana","pyro","snappy","caroline","reef","bob","sand","eve","coral","fizz","soraka","nautilus","vayne","pantheon","nami","nocturne","grunt","bobba","bobba360","octopus","liara","rammus","scarlet","leona","sarien","shyvana","kukui","jacuzzi","atlas","dedede","drallion","kalista","puff","trogdor","zork"];

exports.versions = {
32:"4920.83.0",
33:"5116.88.0",
34:"5500.130.0",
35:"5712.88.0",
36:["5841.83.0", "5841.90.0"],
48:"7647.84.0",
51:"8172.62.0",
52:"8350.68.0",
53:"8530.81.0",
56:"9000.91.0",
57:"9202.64.0",
58:"9334.72.0",
59:"9460.60.0",
60:"9592.96.0",
61:"9765.85.0",
62:"9901.77.0",
65:"10323.62.0",
66:"10452.99.0",
67:"10575.58.0",
68:"10895.56.0",
69:"10895.78.0",
70:"11021.81.0",
71:"11151.113.0",
72:"11316.165.0",
73:"11647.104.0",
74:"11895.118.0",
75:"12105.100.0",
76:"12239.67.0",
77:"12371.75.0",
78:"12499.66.0",
79:"12607.82.0",
80:"12739.111.0",
81:"12871.102.0",
83:"13020.87.0",
84:"13099.110.0",
85:"13310.93.0",
86:"13421.99.0",
87:"13505.73.0",
88:"13597.105.0",
89:"13729.56.0"
32: ["4920.83.0"],
33: ["5116.88.0"],
34: ["5500.130.0"],
35: ["5712.88.0"],
36: ["5841.83.0","5841.90.0"],
48: ["7647.84.0"],
51: ["8172.62.0"],
52: ["8350.68.0"],
53: ["8530.81.0"],
56: ["9000.91.0"],
57: ["9202.64.0"],
58: ["9334.72.0"],
59: ["9460.60.0"],
60: ["9592.96.0"],
61: ["9765.85.0"],
62: ["9901.77.0"],
65: ["10323.62.0"],
66: ["10452.99.0"],
67: ["10575.58.0"],
68: ["10895.56.0"],
69: ["10895.78.0"],
70: ["11021.81.0"],
71: ["11151.113.0"],
72: ["11316.165.0"],
73: ["11647.104.0"],
74: ["11895.118.0"],
75: ["12105.100.0"],
76: ["12239.67.0"],
77: ["12371.75.0"],
78: ["12499.66.0"],
79: ["12607.82.0","12607.81.0"],
80: ["12739.111.0","12739.94.0","12739.105.0"],
81: ["12871.102.0"],
83: ["13020.87.0","13020.82.0"],
84: ["13099.110.0","13099.102.0"],
85: ["13310.93.0"],
86: ["13421.99.0"],
87: ["13505.73.0","13505.111.0"],
88: ["13597.105.0"],
89: ["13729.56.0"],
90: ["13816.82.0","13816.64.0"],
91: ["13904.55.0"],
};

for(let [ release, version ] of Object.entries(exports.versions))exports.versions[release] = [].concat(version);
Expand Down
Binary file removed version.png
Binary file not shown.

0 comments on commit 5f82c60

Please sign in to comment.