Jeremy Apthorp
cb953752eb
fix: don't listen to 'activate' until ready ( #382 )
fixes https://github.com/electron/electron/issues/23476
5 years ago
Charles Kerr
bfe7da1a9b
refactor: use app.whenReady(), not of .once(ready) ( #366 )
Similar to c83f836faf
in electron/electron
6 years ago
Jeremy Apthorp
6cf4eeb47d
chore: no need to hold on to mainWindow reference ( #357 )
6 years ago
Mark Lee
19788f8fbe
feat: use a preload script instead of enabling nodeIntegration ( #279 )
6 years ago
Richie Bendall
dbc225ca76
Simplify if statements ( #268 )
7 years ago
Samuel Attard
cbb3b10fb2
fix: specify nodeIntegration=true for Electron 5 compat ( #257 )
7 years ago
Hum4n01d
73efe7de8a
Update comments to reflect changed macOS name ( #237 )
7 years ago
Shelley Vohr
ec3eacbf94
update index loading for new API
7 years ago
Alex Anderson
07200177f5
Comment out enabling dev tools
I feel like people should know how to do this but I have personally seen people getting confused as to why the developer tools show up. This would make it so you are not required to even touch this file
9 years ago
Kevin Sawicki
0af284c37c
Use path.join for pathname
9 years ago
Kevin Sawicki
995d109c32
Format URL passed to BrowserWindow.loadURL
9 years ago
Eduardo San Martin Morote
46d7d193cf
Use string es6 interpolation
9 years ago
Zeke Sikelianos
1c94f99097
use standard style
10 years ago
Jessica Lord
f7dae7a328
Copy edits per inline comments
10 years ago
Jessica Lord
ae4e0afaaf
Add a comments
10 years ago
Jessica Lord
e0192879df
Do not need 'use strict'
10 years ago
Jessica Lord
d709bb0885
Extract createWindow helper, re org
10 years ago
Jessica Lord
49228fc510
Clean up
10 years ago
Jessica Lord
3f26258efd
Use stricter platform check
10 years ago
Jessica Lord
803db72fe6
Restore window on activate event
10 years ago
Kevin Sawicki
d3e2c5027c
Remove call to crashReporter.start()
10 years ago
icoxfog417
e5f2635f3b
fix #18
10 years ago
laiso
ceec7c3b05
Fix the deprecation warning
https://github.com/atom/electron/pull/3424
10 years ago
Timothy Cyrus
81a25b578a
Update main.js
10 years ago
Timothy Cyrus
89521a4166
Update main.js
10 years ago
John Muhl
6cc15d5038
Replace deprecated use of `bw.openDevTools`
10 years ago
Jessica Lord
8113791ceb
Add quick start files
10 years ago