chore: Prettified Code
[ci skip]
This commit is contained in:
parent
99ac3d6a46
commit
e579968951
1 changed files with 1 additions and 1 deletions
|
@ -937,7 +937,7 @@ export class BrowserWindow {
|
||||||
}
|
}
|
||||||
console.log(join(utils.getPath("themes"), "gh_" + apiRepo.id));
|
console.log(join(utils.getPath("themes"), "gh_" + apiRepo.id));
|
||||||
zip.getEntries().forEach((entry) => {
|
zip.getEntries().forEach((entry) => {
|
||||||
if(entry.entryName.endsWith("/")) return
|
if (entry.entryName.endsWith("/")) return;
|
||||||
let subFolder = entry.entryName.split("/").slice(1, -1).join("/");
|
let subFolder = entry.entryName.split("/").slice(1, -1).join("/");
|
||||||
zip.extractEntryTo(entry, join(utils.getPath("themes"), "gh_" + apiRepo.id, "/", subFolder), false, true);
|
zip.extractEntryTo(entry, join(utils.getPath("themes"), "gh_" + apiRepo.id, "/", subFolder), false, true);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue