Skip to content

Commit

Permalink
Fix preload extension type for Electron App
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1m0n committed Oct 11, 2024
1 parent b77b8cc commit 9480ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const openWindow = (url: string) => {
minHeight: 600,
webPreferences: {
nodeIntegration: true,
preload: path.join(__dirname, "preload.js"),
preload: path.join(__dirname, "preload.mjs"),
},
titleBarStyle: process.platform === "darwin" ? "hidden" : "default",
icon: 'static/favicon.png',
Expand Down

0 comments on commit 9480ab2

Please sign in to comment.