Skip to content

Commit

Permalink
Update to v4 sigs
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Dec 18, 2024
1 parent 5311013 commit fc3e304
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
18 changes: 0 additions & 18 deletions src/@types/electron-devtools-installer.d.ts

This file was deleted.

6 changes: 3 additions & 3 deletions src/electron-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,9 @@ app.on("ready", async () => {

if (argv["devtools"]) {
try {
const { default: installExt, REACT_DEVELOPER_TOOLS } = await import("electron-devtools-installer");
installExt(REACT_DEVELOPER_TOOLS)
.then((name: string) => console.log(`Added Extension: ${name}`))
const { installExtension, REACT_DEVELOPER_TOOLS } = await import("electron-devtools-installer");
installExtension(REACT_DEVELOPER_TOOLS)
.then((ext) => console.log(`Added Extension: ${ext.name}`))
.catch((err: unknown) => console.log("An error occurred: ", err));
} catch (e) {
console.log(e);
Expand Down

0 comments on commit fc3e304

Please sign in to comment.