Auto start package after install


#1

Hi,
I just wrote my first package: https://atom.io/packages/pivx-status-bar

It seems to work well. However after installing it, in order to see it in the status bar, we also have to click here:
Packages / PIVX status bar / Toggle

Is it possible to show it right after the installation (without clicking in the menu)?

Also, if you see some part of the code that is useless, or which could be optimised, please tell me.

Thanks.


#2

You need to eliminate this block of package.json:

  "activationCommands": {
    "atom-workspace": "pivx-status-bar:toggle"
  },

More details about package.json fields can be found here.


#3

Touché.

Really appreciate your help.