Use JavaScript to open the main window.
This commit is contained in:
parent
b313d94a2f
commit
60528e53ee
11 changed files with 479 additions and 25 deletions
|
@ -1,5 +1,8 @@
|
|||
var atom = require('atom');
|
||||
var Window = require('window');
|
||||
|
||||
var mainWindow = null;
|
||||
|
||||
atom.browserMainParts.preMainMessageLoopRun = function() {
|
||||
console.log('Create new window');
|
||||
mainWindow = new Window({ width: 800, height: 600 });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue