-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Dear dev, I have read this repo, and I found bellow code:
electron-typescript-example/src/index.ts
Lines 14 to 20 in cb27a92
setTimeout(() => { | |
console.log("You can also get posts from the second process:"); | |
createConnection().then(async connection => { | |
const posts = await connection.getRepository("Post").find(); | |
console.log("posts:", posts); | |
}); | |
}, 5000); |
Actually, I want to use the database data like width
and height
to init BrowserWindow
, Cloud I init TypeORM before we create BrowserWindow
?
I try put init typeOrm before or after createWindow
function, there always error like:
Metadata
Metadata
Assignees
Labels
No labels