mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Merge branch 'master' of github.com:docker/kitematic
This commit is contained in:
@@ -47,8 +47,7 @@ var router = Router.create({
|
||||
router.run(Handler => React.render(<Handler/>, document.body));
|
||||
routerContainer.set(router);
|
||||
|
||||
let setup = util.isLinux() ? setupUtil.nativeSetup : setupUtil.nonNativeSetup;
|
||||
setup().then(() => {
|
||||
setupUtil.setup().then(() => {
|
||||
Menu.setApplicationMenu(Menu.buildFromTemplate(template()));
|
||||
docker.init();
|
||||
if (!hub.prompted() && !hub.loggedin()) {
|
||||
|
||||
@@ -51,6 +51,10 @@ export default {
|
||||
return _retryPromise.promise;
|
||||
},
|
||||
|
||||
setup() {
|
||||
return util.isLinux() ? this.nativeSetup() : this.nonNativeSetup();
|
||||
},
|
||||
|
||||
async nativeSetup () {
|
||||
while (true) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user