refactor: lint

This commit is contained in:
Hachi-R
2025-01-29 03:46:59 -03:00
parent 5a19e9fd12
commit b56fc4d888
13 changed files with 81 additions and 63 deletions

View File

@@ -230,16 +230,11 @@ export class WindowManager {
`${process.env["ELECTRON_RENDERER_URL"]}#/editor?themeId=${themeId}`
);
} else {
editorWindow.loadFile(
path.join(__dirname, "../renderer/index.html"),
{
hash: "editor",
}
);
editorWindow.loadFile(path.join(__dirname, "../renderer/index.html"), {
hash: "editor",
});
}
editorWindow.once("ready-to-show", () => {
editorWindow.show();
});