Extract Clash previous build result

This commit is contained in:
SukkaW 2023-09-11 01:38:04 +08:00
parent daad7dcd5e
commit ce61f67e63

View File

@ -16,7 +16,7 @@ const fileExists = (path) => {
}; };
(async () => { (async () => {
const filesList = []; const filesList = ['Clash', 'List'];
let allFileExists = true; let allFileExists = true;
@ -60,7 +60,7 @@ const fileExists = (path) => {
cwd: extractedPath, cwd: extractedPath,
filter(p) { filter(p) {
const dir = p.split('/')[1]; const dir = p.split('/')[1];
return dir === 'List' || dir === 'Modules'; return dir === 'List' || dir === 'Modules' || dir === 'Clash';
} }
}) })
); );