trying to deal with the build error

This commit is contained in:
itsamejms
2026-03-05 21:57:15 +00:00
parent bb71abe827
commit 84145de2cc
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { app, BrowserWindow } from 'electron';
import path from 'path';
import { fileURLToPath } from 'url';
const isDev = process.env.NODE_ENV !== 'production';
const isDev = !app.isPackaged;
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);