Skip to content

Commit

Permalink
Archive pwm-files.
Browse files Browse the repository at this point in the history
Signed-off-by: Diego Casorran <[email protected]>
  • Loading branch information
diegocr committed Nov 11, 2024
1 parent c13dec8 commit a714bba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const config = {
'use strict';
if (!config.last) {
return page.evaluate(async() => {
const files = ['chat', 'rewind', 's4'];
const files = ['chat', 'rewind', 's4', 'pwm'];
return Promise.all(files.map(n => M.require(n)));
});
}
Expand Down Expand Up @@ -200,6 +200,9 @@ const config = {
if (content[1].includes('var buildVersion = {')) {
type = 'boot';
}
else if (content[0] === 'class MegaComponent extends MegaDataEmitter {') {
type = 'pwm';
}
}
}

Expand Down

0 comments on commit a714bba

Please sign in to comment.