mirror of https://github.com/docker/docs.git
Fixing breaking bug if old version of virtualbox is installed.
This commit is contained in:
parent
2eab2374dc
commit
4fb57eb4c1
10
index.js
10
index.js
|
@ -112,7 +112,7 @@ app.on('activate-with-no-open-windows', function () {
|
|||
app.on('ready', function() {
|
||||
start(function (url, nodeChild, mongoChild) {
|
||||
var cleanUpChildren = function () {
|
||||
console.log('Cleaning up children.')
|
||||
console.log('Cleaning up children.');
|
||||
mongoChild.kill();
|
||||
nodeChild.kill();
|
||||
app.quit();
|
||||
|
@ -137,13 +137,7 @@ app.on('ready', function() {
|
|||
}
|
||||
};
|
||||
mainWindow = new BrowserWindow(windowOptions);
|
||||
|
||||
// and load the index.html of the app.
|
||||
mainWindow.focus();
|
||||
mainWindow.loadUrl(url);
|
||||
|
||||
mainWindow.webContents.on('did-finish-load', function () {
|
||||
mainWindow.show();
|
||||
mainWindow.focus();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -55,9 +55,9 @@ Installer.steps = [
|
|||
callback(err);
|
||||
}
|
||||
});
|
||||
}, function (progress) {
|
||||
progressCallback(progress);
|
||||
});
|
||||
}, function (progress) {
|
||||
progressCallback(progress);
|
||||
});
|
||||
} else {
|
||||
callback();
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
Template.setup_finish.events({
|
||||
'click .finish-button': function (e) {
|
||||
var enableDiagnostics = $('.install-diagonistics input').attr('checked') ? true : false;
|
||||
var status = enableDiagnostics ? 'on' : 'off';
|
||||
ga('send', 'event', 'link', 'click', 'turn ' + status + ' usage analytics');
|
||||
Installs.insert({version: Installer.CURRENT_VERSION});
|
||||
var settings = Settings.findOne();
|
||||
if (!settings) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "Kitematic",
|
||||
"main": "index.js",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"dependencies": {
|
||||
"async": "^0.9.0",
|
||||
"chokidar": "git+https://github.com/usekite/chokidar.git",
|
||||
|
|
Loading…
Reference in New Issue