will now write id to theme.json
This commit is contained in:
parent
e125060fab
commit
3f9bb100d7
1 changed files with 1 additions and 0 deletions
|
@ -613,6 +613,7 @@ export class BrowserWindow {
|
||||||
let theme = JSON.parse(
|
let theme = JSON.parse(
|
||||||
readFileSync(join(utils.getPath("themes"), "gh_" + apiRepo.id, "theme.json"), "utf8")
|
readFileSync(join(utils.getPath("themes"), "gh_" + apiRepo.id, "theme.json"), "utf8")
|
||||||
);
|
);
|
||||||
|
theme.id = apiRepo.id
|
||||||
theme.commit = commit[0].sha;
|
theme.commit = commit[0].sha;
|
||||||
writeFileSync(
|
writeFileSync(
|
||||||
join(utils.getPath("themes"), "gh_" + apiRepo.id, "theme.json"),
|
join(utils.getPath("themes"), "gh_" + apiRepo.id, "theme.json"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue