 
     compileOnServer = (app)=>
       return warn "#{name}: No such application!" unless app
-      appPath = getAppPath app
+      appPath = @getAppPath app
 
       loader = new KDNotificationView
         duration : 18000

      @fetchApps (err, apps)->
        compileOnServer apps[name]
    else
      @kiteController.run "test -d #{escapeFilePath getAppPath @constructor.manifests[name]}", (err)=>
        if err
          new KDNotificationView
            title    : "App list is out-dated, refreshing apps..."

  # HELPERS
  # #

  getAppPath:(manifest)->

    {profile} = KD.whoami()
    path = if 'string' is typeof manifest then manifest else manifest.path
    path = if /^~/.test path then "/Users/#{profile.nickname}#{path.substr(1)}" else path
    return path.replace /(\/+)$/, ""

  @getManifestFromPath = getManifestFromPath = (path)->
