an app marketplace is not simply about package managers. Its about an ecosystem that allows developers to develop high quality apps. Additionally its about payment systems, etc - but tgats not relevant fof this discussion.
I'm finding it hard to believe that you can woo quality desktop app developers using javascript.