xbar icon indicating copy to clipboard operation
xbar copied to clipboard

Improve to handle installation?

Open chrisspiegl opened this issue 2 years ago • 3 comments

I have been using the alfy package to develop some Alfred workflows.

Now I took a look at the xbar package you created and wondered if this could be improved to also make it possible to install xbar plugins via npm similar to the way this is handled with Alfred?

I already have some ideas but thought I might ask if this is something you are interested in building / integrating.

Cheers and Happy New Year 🎆

chrisspiegl avatar Dec 31 '21 17:12 chrisspiegl

Definitely possible. You just have to make a similar thing like with Alfred (alfred-link) where the package is linked to the correct location in an npm postinstall script. It's not something I want to work on as I don't use xbar anymore, but I'm happy to recommend a solution if you or someone decides to build it.

sindresorhus avatar Dec 31 '21 18:12 sindresorhus

Thanks for letting me know @sindresorhus. I may be able to port the alfred-link one over and create something that works in a similar way.

Would it be interesting to do this inside this package or would it be better to separate these two into their own packages?

I will post here if and when I get to it.

chrisspiegl avatar Jan 01 '22 15:01 chrisspiegl

Separate package.

sindresorhus avatar Jan 01 '22 15:01 sindresorhus