     {@File} = require 'atom'
 
     # Install packages we depend on
-    require('atom-package-deps').install('spark-dev', true)
+    require('atom-package-deps').install(@packageName(), true)
 
     @workspaceElement = atom.views.getView(atom.workspace)
     {CompositeDisposable, Emitter} = require 'atom'

    @initView 'login'
    # You may ask why commands aren't registered in LoginView?
    # This way, we don't need to require/initialize login view until it's needed.
    @disposables.add atom.commands.add 'atom-workspace',
      'spark-dev:cancel-login': => @loginView.cancelCommand()
    @loginView.show()

  # Log out current user

  compileCloudPromise: null
  flashCorePromise: null

  packageName: ->
    if @_packageName
      return @_packageName

    pjson = require('../package.json');
    @_packageName = pjson.name

  activate: (state) ->
    # Require modules on activation
    @StatusView ?= require './views/status-bar-view'
