Skip to content

Commit a714bba

Browse files
committed
Archive pwm-files.
Signed-off-by: Diego Casorran <[email protected]>
1 parent c13dec8 commit a714bba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ const config = {
154154
'use strict';
155155
if (!config.last) {
156156
return page.evaluate(async() => {
157-
const files = ['chat', 'rewind', 's4'];
157+
const files = ['chat', 'rewind', 's4', 'pwm'];
158158
return Promise.all(files.map(n => M.require(n)));
159159
});
160160
}
@@ -200,6 +200,9 @@ const config = {
200200
if (content[1].includes('var buildVersion = {')) {
201201
type = 'boot';
202202
}
203+
else if (content[0] === 'class MegaComponent extends MegaDataEmitter {') {
204+
type = 'pwm';
205+
}
203206
}
204207
}
205208

0 commit comments

Comments
 (0)