We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bca09f6 commit fcb4bdbCopy full SHA for fcb4bdb
src-electron/main.ts
@@ -50,7 +50,7 @@ if (process.platform === "win32") {
50
let iconPath: string;
51
const publicDir = isDevelopment
52
? path.join(import.meta.dirname, "../public")
53
- : __dirname;
+ : import.meta.dirname;
54
const url = isDevelopment ? "http://localhost:5173#" : "app://./index.html#";
55
56
const log = (namespace: string, text: string) => {
0 commit comments