chore: Prettified Code

[ci skip]
This commit is contained in:
yazninja 2023-05-09 19:19:42 +00:00 committed by cider-chore[bot]
parent 99ac3d6a46
commit e579968951

View file

@ -937,7 +937,7 @@ export class BrowserWindow {
}
console.log(join(utils.getPath("themes"), "gh_" + apiRepo.id));
zip.getEntries().forEach((entry) => {
if(entry.entryName.endsWith("/")) return
if (entry.entryName.endsWith("/")) return;
let subFolder = entry.entryName.split("/").slice(1, -1).join("/");
zip.extractEntryTo(entry, join(utils.getPath("themes"), "gh_" + apiRepo.id, "/", subFolder), false, true);
});