Skip to content

Commit 3ca6dab

Browse files
committed
Fix big time
1 parent 51bf7b7 commit 3ca6dab

File tree

3 files changed

+828
-3
lines changed

3 files changed

+828
-3
lines changed

main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
import { app, BrowserWindow } from 'electron';
1+
import electron from 'electron';
22
import path from 'path';
33
import { fileURLToPath } from 'url';
44

55
const __filename = fileURLToPath(import.meta.url);
6+
const { app, BrowserWindow } = electron;
67
const __dirname = path.dirname(__filename);
78

89
let mainWindow;
@@ -19,6 +20,7 @@ const createWindow = () => {
1920
mainWindow.loadFile('index.html');
2021
};
2122

23+
console.log(app)
2224
app.on('ready', createWindow);
2325

2426
app.on('window-all-closed', () => {

0 commit comments

Comments
 (0)