                 data.color = manifest.getColor()
                 data.needsUpdate = false
                 try
-                    iconInfos = icons.getIconInfos appli
+                    info =
+                        git: app.git
+                        name: app.name
+                        icon: app.icon
+                        iconPath: data.iconPath
+                    iconInfos = icons.getIconInfos
                 catch err
                     console.log err
                     iconInfos = null

                            stack: err.stack
                        , 500
                else

                    req.application.state = "installed"
                    req.application.port = result.drone.port
                    req.application.save (err) ->
                        if err
                            delete startedApplications[req.application.id]
                            return markBroken res, req.application, err

    console.log "Marking app #{app.name} as broken because"
    console.log err.stack

    data =
        state: 'broken'
        password: null
    if err.result?
        data.errormsg = err.message + ' :\n' + err.result
    else if err.message?
        data.errormsg = err.message + ' :\n' + err.stack
    else
        data.errormsg = err
    app.updateAttributes data, (saveErr) ->
        return sendError res, saveErr if saveErr

        res.send
