trying to deal with the build error
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user