Hide window when running in CI.

This commit is contained in:
Cheng Zhao 2013-08-21 11:35:39 +08:00
parent d160da7752
commit b411657b76
2 changed files with 12 additions and 10 deletions

View file

@ -33,9 +33,9 @@ app.on('window-all-closed', function() {
app.on('finish-launching', function() {
window = new BrowserWindow({
title: 'atom-shell tests',
show: false,
width: 800,
height: 600
});
window.loadUrl('file://' + __dirname + '/index.html');
window.focus();
});