mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 01:30:37 +08:00
Extract Clash previous build result
This commit is contained in:
parent
daad7dcd5e
commit
ce61f67e63
@ -16,7 +16,7 @@ const fileExists = (path) => {
|
||||
};
|
||||
|
||||
(async () => {
|
||||
const filesList = [];
|
||||
const filesList = ['Clash', 'List'];
|
||||
|
||||
let allFileExists = true;
|
||||
|
||||
@ -60,7 +60,7 @@ const fileExists = (path) => {
|
||||
cwd: extractedPath,
|
||||
filter(p) {
|
||||
const dir = p.split('/')[1];
|
||||
return dir === 'List' || dir === 'Modules';
|
||||
return dir === 'List' || dir === 'Modules' || dir === 'Clash';
|
||||
}
|
||||
})
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user